swann: enable ndppd/radvd
This commit is contained in:
parent
df870ded34
commit
6ae099999f
1 changed files with 23 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue