diff --git a/hosts/dust/default.nix b/hosts/dust/default.nix index 4db7b2e..9320f2a 100644 --- a/hosts/dust/default.nix +++ b/hosts/dust/default.nix @@ -44,6 +44,27 @@ } ); + networking = { + useNetworkd = true; + useDHCP = false; + }; + + systemd.network.networks = { + "10-wlan0" = { + name = "wlan0"; + DHCP = "yes"; + dhcpV4Config.RouteMetric = 2048; + dhcpV6Config.RouteMetric = 2048; + }; + "11-eth" = { + matchConfig = { + Kind = "!*"; + Type = "ether"; + }; + DHCP = "yes"; + }; + }; + boot.kernelPackages = lib.mkForce pkgs.linuxPackages_testing; nix.extraOptions = "!include ${config.sops.secrets.nix-access-tokens.path}";