about summary refs log tree commit diff
path: root/modules/power-save/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/power-save/default.nix')
-rw-r--r--modules/power-save/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/power-save/default.nix b/modules/power-save/default.nix
index e132655..21cb0fd 100644
--- a/modules/power-save/default.nix
+++ b/modules/power-save/default.nix
@@ -1,12 +1,14 @@
-{ config, pkgs, ... }:
 {
-
+  config,
+  pkgs,
+  ...
+}: {
   environment.systemPackages = with pkgs; [
     powertop
   ];
 
   boot = {
-    kernelParams = [ "pcie_aspm.policy=powersave" ];
+    kernelParams = ["pcie_aspm.policy=powersave"];
     extraModprobeConfig = ''
       options snd_hda_intel power_save=1
       options iwlwifi power_save=1 d0i3_disable=0 uapsd_disable=0