hetzner-network: don't stop networkd

This commit is contained in:
Jörg Thalheim 2022-07-14 07:15:25 +02:00
parent 53cbefebe1
commit d3400ebd32

View file

@ -22,6 +22,11 @@ in {
config = {
networking.usePredictableInterfaceNames = false;
networking.dhcpcd.enable = false;
# Don't take down the network for too long, this will use `systemctl
# restart` rather than stopping it with `systemctl stop` followed by a
# delayed `systemctl start`
systemd.services.systemd-networkd.stopIfChanged = true;
systemd.network = {
enable = true;
networks."ethernet".extraConfig = ''