From eb9f58317a6ada7a846c65bf5d63dfcc13d6f839 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Wed, 15 May 2024 22:17:27 +0100 Subject: [PATCH] switch network to iwd --- hosts/default/configuration.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index bf60097..e227481 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -17,9 +17,19 @@ boot.plymouth.enable = true; networking = { - networkmanager.enable = true; # Easiest to use and most distros use this by default. + networkmanager = { + enable = true; # Easiest to use and most distros use this by default. + wifi.backend = "iwd"; + }; hostName = "nixos-laptop"; firewall.enable = false; + wireless.iwd = { + enable = true; + settings = { + IPv6.Enabled = true; + Settings.Autoconnect = true; + }; + }; # Configure network proxy if necessary # proxy.default = "http://user:password@proxy:port/"; # proxy.noProxy = "127.0.0.1,localhost,internal.domain";