diff options
Diffstat (limited to 'nixos/machine')
-rw-r--r-- | nixos/machine/adm-omnia2.nix | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/nixos/machine/adm-omnia2.nix b/nixos/machine/adm-omnia2.nix index be245e2..6a9831a 100644 --- a/nixos/machine/adm-omnia2.nix +++ b/nixos/machine/adm-omnia2.nix @@ -1,4 +1,9 @@ {config, ...}: { + deploy = { + enable = true; + ssh.host = "omnia2.adm"; + }; + cynerd = { switch = { enable = true; @@ -7,11 +12,23 @@ }; wifiAP.adm = { enable = true; - ar9287.interface = "wlp2s0"; - qca988x.interface = "wlp1s0"; + ar9287 = { + interface = "wlp1s0"; + bssids = ["12:f0:21:23:2b:00" "12:f0:21:23:2b:01" "12:f0:21:23:2b:02"]; + channel = 11; + }; + qca988x = { + interface = "wlp2s0"; + bssids = ["12:f0:21:23:2b:03" "12:f0:21:23:2b:04" "12:f0:21:23:2b:05"]; + channel = 36; + }; }; }; + services.journald.extraConfig = '' + SystemMaxUse=8G + ''; + services.btrfs.autoScrub = { enable = true; fileSystems = ["/"]; @@ -23,7 +40,7 @@ }; systemd.network.networks = { "lan-brlan" = { - matchConfig.Name = "lan* eth0"; + matchConfig.Name = "lan* end2"; networkConfig.Bridge = "brlan"; bridgeVLANs = [ { |