From 7a8614d2f78e561786dc91408f8fc326a34fd41a Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 8 Aug 2023 23:29:58 +0100 Subject: [PATCH] swann: switch to erbium (this is broken) --- ops/nixos/swann/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index 20b088eee5..6bc464b1b2 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -15,6 +15,10 @@ in { ]; config = mkMerge [ { + + # TODO: erbium is broken; don't deploy!!! + my.deploy.enable = false; + boot.initrd.availableKernelModules = [ "sd_mod" "ahci" @@ -472,9 +476,9 @@ in { { apply-subnet = "92.118.30.16/28"; apply-domain-name = "house-ext.as205479.net"; - apply-domain-name-servers = [ "92.118.30.17" ]; + apply-dns-servers = [ "92.118.30.17" ]; apply-routers = [ "92.118.30.17" ]; - apply-interface-mtu = 1420; + apply-mtu = 1420; policies = [{ match-hardware-address = "bc:33:29:26:01:5c"; apply-host-name = "ps5"; @@ -488,9 +492,9 @@ in { apply-range.start = "192.168.1.100"; apply-range.end = "192.168.1.200"; apply-domain-name = "house.as205479.net"; - apply-domain-name-servers = [ "192.168.1.1" ]; + apply-dns-servers = [ "192.168.1.1" ]; apply-routers = [ "192.168.1.1" ]; - apply-interface-mtu = 1420; + apply-mtu = 1420; policies = [{ match-hardware-address = "40:8d:5c:1f:e8:68"; apply-host-name = "totoro"; @@ -521,9 +525,9 @@ in { apply-range.start = "192.168.10.10"; apply-range.end = "192.168.10.200"; apply-domain-name = "eduroam.as205479.net"; - apply-domain-name-servers = [ "192.168.10.1" ]; + apply-dns-servers = [ "192.168.10.1" ]; apply-routers = [ "192.168.10.1" ]; - apply-interface-mtu = 1420; + apply-mtu = 1420; } ]; };