From 550445e0f9a989c03000faf99a4b948b217792a2 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 1 Sep 2024 00:23:40 +0100 Subject: [PATCH] firmware: Add iwd --- firmware/network.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) 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"; + }; }; }; };