mob next [ci-skip] [ci skip] [skip ci]
lastFile:routers/white-house/configuration.nix
This commit is contained in:
@@ -3,10 +3,20 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (pkgs.liminix.services) target;
|
inherit (pkgs.liminix.services) target;
|
||||||
|
secrets = {
|
||||||
|
firewallRules = { };
|
||||||
|
}
|
||||||
|
// (import ./secrets.nix);
|
||||||
|
wirelessConfig = {
|
||||||
|
country_code = "TH";
|
||||||
|
inherit (secrets) wpa_passphrase;
|
||||||
|
wmm_enabled = 1;
|
||||||
|
};
|
||||||
svc = config.system.service;
|
svc = config.system.service;
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
@@ -98,5 +108,11 @@ rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultProfile.packages = [ pkgs.hello ];
|
environment.systemPackages = with pkgs; [
|
||||||
|
tcpdump
|
||||||
|
socat
|
||||||
|
iptables
|
||||||
|
usbutils
|
||||||
|
busybox
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user