swann: disable radvd/ndppd, add static IP for xerox printer
This commit is contained in:
parent
5fdf26f3e8
commit
78da7c9f4d
1 changed files with 7 additions and 3 deletions
|
@ -112,6 +112,11 @@ in {
|
||||||
ethernetAddress = "00:0d:5d:1b:14:ba";
|
ethernetAddress = "00:0d:5d:1b:14:ba";
|
||||||
ipAddress = "192.168.1.50";
|
ipAddress = "192.168.1.50";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
hostName = "printer-xerox";
|
||||||
|
ethernetAddress = "9c:93:4e:ad:1f:7b";
|
||||||
|
ipAddress = "192.168.1.51";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
networking.localCommands = ''
|
networking.localCommands = ''
|
||||||
|
@ -206,7 +211,6 @@ in {
|
||||||
block
|
block
|
||||||
}
|
}
|
||||||
hosts /dev/null {
|
hosts /dev/null {
|
||||||
2a02:26f0:5700:3b1::2ab3 www.nhs.uk
|
|
||||||
fallthrough
|
fallthrough
|
||||||
}
|
}
|
||||||
loadbalance
|
loadbalance
|
||||||
|
@ -258,7 +262,7 @@ in {
|
||||||
|
|
||||||
# This is cursed.
|
# This is cursed.
|
||||||
services.ndppd = {
|
services.ndppd = {
|
||||||
enable = true;
|
enable = false;
|
||||||
proxies.ens-virginmedia = {
|
proxies.ens-virginmedia = {
|
||||||
router = false;
|
router = false;
|
||||||
rules."2a02:88fd:f:d::/64" = {
|
rules."2a02:88fd:f:d::/64" = {
|
||||||
|
@ -277,7 +281,7 @@ in {
|
||||||
ia_pd 3 ens-general/1/64
|
ia_pd 3 ens-general/1/64
|
||||||
'';
|
'';
|
||||||
services.radvd = {
|
services.radvd = {
|
||||||
enable = true;
|
enable = false;
|
||||||
config = ''
|
config = ''
|
||||||
interface ens-general {
|
interface ens-general {
|
||||||
AdvSendAdvert on;
|
AdvSendAdvert on;
|
||||||
|
|
Loading…
Reference in a new issue