Network: Use networkd.
This commit is contained in:
parent
8594c7c31d
commit
0ff6a693a6
|
@ -2,8 +2,14 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
# REF: https://nixos.wiki/wiki/Systemd-networkd
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
wait-online.enable = false; # So we can use both NM and networkd.
|
||||
};
|
||||
|
||||
networking = {
|
||||
useDHCP = lib.mkDefault true;
|
||||
networkmanager.enable = true;
|
||||
dhcpcd.enable = false;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue