diff options
author | Karel Kočí <cynerd@email.cz> | 2024-03-15 10:56:26 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-03-15 10:56:26 +0100 |
commit | a2f35401414d47c1a929b5b75d5e40705954b00d (patch) | |
tree | 2802772890e0d9ed2b062df6adc854ba28b2e27d | |
parent | 37cb70e417010417fabb10c789c87a5eb79ac151 (diff) | |
download | nixos-personal-a2f35401414d47c1a929b5b75d5e40705954b00d.tar.gz nixos-personal-a2f35401414d47c1a929b5b75d5e40705954b00d.tar.bz2 nixos-personal-a2f35401414d47c1a929b5b75d5e40705954b00d.zip |
adm-omnia2: update and redeploy
-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 = [ { |