diff --git a/firmware/network.nix b/firmware/network.nix index 81d3dfc..bad8bdd 100644 --- a/firmware/network.nix +++ b/firmware/network.nix @@ -3,15 +3,25 @@ hostName = config.system.name; useDHCP = false; useNetworkd = true; + wireless.iwd = { + enable = true; + settings.DriverQuirks.DefaultInterface = "*"; + }; }; systemd = { network = { + wait-online.enable = false; networks = { "10-ethernet" = { matchConfig.Name = "ethernet"; DHCP = "yes"; }; + "10-wifi" = { + matchConfig.Name = "wifi"; + DHCP = "yes"; + networkConfig.IgnoreCarrierLoss = "3s"; + }; }; }; };