From 78da7c9f4d129788cb74c21b1345ebdbdee8b414 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 15 Jul 2021 11:55:10 +0000 Subject: [PATCH] swann: disable radvd/ndppd, add static IP for xerox printer --- ops/nixos/swann/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ops/nixos/swann/default.nix b/ops/nixos/swann/default.nix index 35dcd545bc..b454a8d54d 100644 --- a/ops/nixos/swann/default.nix +++ b/ops/nixos/swann/default.nix @@ -112,6 +112,11 @@ in { ethernetAddress = "00:0d:5d:1b:14:ba"; ipAddress = "192.168.1.50"; } + { + hostName = "printer-xerox"; + ethernetAddress = "9c:93:4e:ad:1f:7b"; + ipAddress = "192.168.1.51"; + } ]; }; networking.localCommands = '' @@ -206,7 +211,6 @@ in { block } hosts /dev/null { - 2a02:26f0:5700:3b1::2ab3 www.nhs.uk fallthrough } loadbalance @@ -258,7 +262,7 @@ in { # This is cursed. services.ndppd = { - enable = true; + enable = false; proxies.ens-virginmedia = { router = false; rules."2a02:88fd:f:d::/64" = { @@ -277,7 +281,7 @@ in { ia_pd 3 ens-general/1/64 ''; services.radvd = { - enable = true; + enable = false; config = '' interface ens-general { AdvSendAdvert on;