swann: disable radvd/ndppd, add static IP for xerox printer

This commit is contained in:
Luke Granger-Brown 2021-07-15 11:55:10 +00:00
parent 5fdf26f3e8
commit 78da7c9f4d

View file

@ -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;