explicitly set networkd as the default
This commit is contained in:
parent
8cda86d34c
commit
dca61fa5fa
@ -18,4 +18,17 @@
|
|||||||
default = "root@${config.networking.hostName}";
|
default = "root@${config.networking.hostName}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
config = {
|
||||||
|
# conflicts with systemd-resolved
|
||||||
|
networking.useHostResolvConf = false;
|
||||||
|
|
||||||
|
# The notion of "online" is a broken concept
|
||||||
|
# https://github.com/systemd/systemd/blob/e1b45a756f71deac8c1aa9a008bd0dab47f64777/NEWS#L13
|
||||||
|
systemd.services.NetworkManager-wait-online.enable = false;
|
||||||
|
systemd.network.wait-online.enable = false;
|
||||||
|
|
||||||
|
# Use networkd instead of the pile of shell scripts
|
||||||
|
networking.useNetworkd = lib.mkDefault true;
|
||||||
|
networking.useDHCP = lib.mkDefault false;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user