From 4fc28fe8b26c9cbcc82672eaaa8460ff4947c652 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 11 Aug 2024 17:03:30 -0500 Subject: [PATCH] feat(hosts/orion): enable powersave for wifi --- hosts/orion/os/hardware.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/orion/os/hardware.nix b/hosts/orion/os/hardware.nix index 7803acfd..48b7eb9a 100644 --- a/hosts/orion/os/hardware.nix +++ b/hosts/orion/os/hardware.nix @@ -3,4 +3,7 @@ hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; services.fstrim.enable = true; + boot.extraModprobeConfig = '' + options iwlwifi power_save=1 + ''; }