diff options
| -rw-r--r-- | configs/networkd.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/networkd.nix b/configs/networkd.nix index 180991ba..6141f47e 100644 --- a/configs/networkd.nix +++ b/configs/networkd.nix @@ -5,6 +5,11 @@ networking.useNetworkd = true; networking.useDHCP = false; + # Do not take the network down for too long. + # From: https://github.com/numtide/srvos/commit/a99a47d + systemd.services.systemd-networkd.stopIfChanged = false; + systemd.services.systemd-resolved.stopIfChanged = false; + # The networks are called 40-NAME like the ones from # <nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix>, so the # settings merge into them: systemd uses only the first file that matches |
