Compare commits
2 Commits
454c5b47c9
...
feature/ro
| Author | SHA1 | Date | |
|---|---|---|---|
|
9760d1f8c8
|
|||
|
bc7fb86f2c
|
@@ -326,7 +326,6 @@ in
|
|||||||
duid
|
duid
|
||||||
ipv6only
|
ipv6only
|
||||||
nohook resolv.conf, yp, hostname, ntp
|
nohook resolv.conf, yp, hostname, ntp
|
||||||
nogateway
|
|
||||||
option rapid_commit
|
option rapid_commit
|
||||||
|
|
||||||
# this doesn't play well with networkd
|
# this doesn't play well with networkd
|
||||||
@@ -338,7 +337,7 @@ in
|
|||||||
# request the leases just for routing (so that the att box knows we're here)
|
# request the leases just for routing (so that the att box knows we're here)
|
||||||
# actual ip assignments are static, based on $pdFromWan
|
# actual ip assignments are static, based on $pdFromWan
|
||||||
ia_pd 1/${ifs.lan.net6} -
|
ia_pd 1/${ifs.lan.net6} -
|
||||||
# ia_pd 10/${ifs.lan10.net6} -
|
ia_pd 10/${ifs.lan10.net6} -
|
||||||
# ia_pd 20/${pdFromWan}d::/64 - # for opnsense (legacy services)
|
# ia_pd 20/${pdFromWan}d::/64 - # for opnsense (legacy services)
|
||||||
ia_pd 30/${ifs.lan30.net6} -
|
ia_pd 30/${ifs.lan30.net6} -
|
||||||
ia_pd 40/${ifs.lan40.net6} -
|
ia_pd 40/${ifs.lan40.net6} -
|
||||||
@@ -347,30 +346,6 @@ in
|
|||||||
# ia_pd 8 -
|
# ia_pd 8 -
|
||||||
'';
|
'';
|
||||||
|
|
||||||
systemd.timers."restart-networkd" = {
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.timers."restart-networkd" = {
|
|
||||||
wantedBy = [ "timers.target" ];
|
|
||||||
timerConfig = {
|
|
||||||
OnBootSec = "1m";
|
|
||||||
OnUnitActiveSec = "1m";
|
|
||||||
Unit = "restart-networkd.service";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.services."restart-networkd" = {
|
|
||||||
script = ''
|
|
||||||
set -eu
|
|
||||||
${pkgs.systemd}/bin/systemctl restart systemd-networkd
|
|
||||||
'';
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "oneshot";
|
|
||||||
User = "root";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.useNetworkd = true;
|
networking.useNetworkd = true;
|
||||||
systemd.network.enable = true;
|
systemd.network.enable = true;
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
|
|||||||
Reference in New Issue
Block a user