From bdbd4e3970cb91e16606f01b5c3aac549c9adfb8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 10 May 2022 16:17:39 +0200 Subject: feat(tazjin/zamalek): Set additional power saving options Change-Id: Ia2e897b597df88b8a2d84d281917c00ca4b318db Reviewed-on: https://cl.tvl.fyi/c/depot/+/5568 Reviewed-by: tazjin Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/nixos/zamalek/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'users/tazjin/nixos') 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 = { -- cgit 1.4.1