initial work on dns resolver + openwrt mgmt
This commit is contained in:
1 parent
b51257e5e1
commit
0614d7ff04
22 files changed
+505
-2
No files matched your search
@@ -126,6 +126,9 @@
|
||||
nh
|
||||
agenix.packages.${system}.default
|
||||
home-manager.packages.${system}.home-manager
|
||||
rustc
|
||||
cargo
|
||||
rust-analyzer
|
||||
];
|
||||
shellHook = ''
|
||||
export PATH=$PATH:$(pwd)/bin
|
||||
@@ -137,6 +140,18 @@
|
||||
lib = lib;
|
||||
formatter = lib.eachSystem (system: nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
|
||||
|
||||
# OpenWrt router management
|
||||
# -------------
|
||||
packages = lib.eachSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
openwrt = import ./modules/openwrt { inherit pkgs; inherit (nixpkgs) lib; };
|
||||
in
|
||||
{
|
||||
openwrt-glmain = (openwrt (import ./modules/openwrt/glmain.nix)).deployScript;
|
||||
}
|
||||
);
|
||||
|
||||
# Non-NixOS Linux Setups (standalone home-manager)
|
||||
# -------------
|
||||
homeConfigurations = {
|
||||
|
||||
Reference in new issue
Block a user