summaryrefslogtreecommitdiff
path: root/hosts/laptop/configuration.nix
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-08-02 21:02:26 -0500
committerChristian <[email protected]>2026-08-02 21:02:26 -0500
commit74b24060e03715ab273bc7d3b5a9c069b68f2d1e (patch)
tree15ed494a70d290f02b4b2e54d7cd8ab405f1ae97 /hosts/laptop/configuration.nix
parentf755cd46cca7ca4ff84c343a495d8a1b73de05ba (diff)
Fix laptop WiFi drops by disabling NetworkManager in favor of iwdHEADmain
Diffstat (limited to 'hosts/laptop/configuration.nix')
-rw-r--r--hosts/laptop/configuration.nix11
1 files changed, 11 insertions, 0 deletions
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";