treewide: migrate networking to systemd-networkd

This commit is contained in:
Katherina Walshe-Grey 2024-11-05 18:31:39 +00:00
parent 955409c8ef
commit 9cfe6e2c4c
8 changed files with 36 additions and 13 deletions

View file

@ -42,8 +42,9 @@
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.ens3.useDHCP = lib.mkDefault true;
# networking.useDHCP = lib.mkDefault true;
networking.useNetworkd = true;
networking.interfaces.ens3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}