about summary refs log tree commit diff
path: root/users/tazjin/nixos/zamalek
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-10T14·17+0200
committerclbot <clbot@tvl.fyi>2022-05-10T15·03+0000
commitbdbd4e3970cb91e16606f01b5c3aac549c9adfb8 (patch)
tree40870ed0457c9ca7df2fa83ca09ab3baa33bc32e /users/tazjin/nixos/zamalek
parentc50f14fb1c4b3398f1e0008b8c7264e0d338d4cb (diff)
feat(tazjin/zamalek): Set additional power saving options r/4051
Change-Id: Ia2e897b597df88b8a2d84d281917c00ca4b318db
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5568
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/nixos/zamalek')
-rw-r--r--users/tazjin/nixos/zamalek/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/tazjin/nixos/zamalek/default.nix b/users/tazjin/nixos/zamalek/default.nix
index 7b94d8723c47..d1ba771fad1e 100644
--- a/users/tazjin/nixos/zamalek/default.nix
+++ b/users/tazjin/nixos/zamalek/default.nix
@@ -34,6 +34,13 @@ in
     loader.efi.canTouchEfiVariables = true;
     supportedFilesystems = [ "zfs" ];
     zfs.devNodes = "/dev/";
+
+    extraModprobeConfig = ''
+      options snd_hda_intel power_save=1
+      options iwlwifi power_save=1
+      options iwldvm force_cam=0
+      options i915 enable_guc=3 enable_fbc=1
+    '';
   };
 
   fileSystems = {