From 74b24060e03715ab273bc7d3b5a9c069b68f2d1e Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 2 Aug 2026 21:02:26 -0500 Subject: Fix laptop WiFi drops by disabling NetworkManager in favor of iwd --- hosts/laptop/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'hosts/laptop') diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 1253734..933f79c 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -25,9 +25,12 @@ boot.loader.efi.efiSysMountPoint = "/boot/efi"; networking.hostName = "laptop"; + networking.networkmanager.enable = lib.mkForce false; networking.wireless.iwd.enable = true; networking.wireless.iwd.settings = { General.EnableNetworkConfiguration = true; + General.PowerSaveDisable = true; + General.AddressRandomization = "disabled"; }; networking.nameservers = [ "1.1.1.1" @@ -80,6 +83,14 @@ boot.resumeDevice = "/dev/disk/by-uuid/56ae0488-d952-41d8-8128-60a46e979d91"; boot.kernelParams = [ "resume_offset=12832768" ]; + services.tlp = { + enable = true; + settings = { + WIFI_PWR_ON_BAT = "off"; + WIFI_PWR_ON_AC = "off"; + }; + }; + programs.steam.enable = true; system.stateVersion = "25.11"; -- cgit v1.2.3