swann: enable ndppd/radvd

This commit is contained in:
Luke Granger-Brown 2021-05-12 18:12:41 +00:00
parent df870ded34
commit 6ae099999f

View file

@ -238,5 +238,28 @@ in {
]; ];
}; };
# This is cursed.
services.ndppd = {
enable = true;
proxies.ens-virginmedia.rules."2a02:88fd:f:d::/64" = {
method = "iface";
interface = "br-int";
};
};
services.radvd = {
enable = true;
config = ''
interface br-int {
AdvSendAdvert on;
MaxRtrAdvInterval 60;
AdvDefaultLifetime 180;
prefix 2a02:88fd:f:d::/64 {
AdvValidLifetime 7200;
AdvPreferredLifetime 3600;
};
};
'';
};
system.stateVersion = "21.03"; system.stateVersion = "21.03";
} }