about summary refs log tree commit diff
path: root/modules/power-save
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-12-30 17:40:41 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-12-30 17:42:17 +0100
commita2339e091a6e1906b8f6488986de1474a5e7b92e (patch)
treec732d47f271120a2b69e1f80277c608dd87d95bb /modules/power-save
parentModules: power-save: Add powertop (diff)
downloadnixos-config-a2339e091a6e1906b8f6488986de1474a5e7b92e.tar.gz
nixos-config-a2339e091a6e1906b8f6488986de1474a5e7b92e.tar.bz2
nixos-config-a2339e091a6e1906b8f6488986de1474a5e7b92e.zip
Hardware: Move hardware specific settings from hosts
Diffstat (limited to '')
-rw-r--r--modules/power-save/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/power-save/default.nix b/modules/power-save/default.nix
index 8360043..2e3f769 100644
--- a/modules/power-save/default.nix
+++ b/modules/power-save/default.nix
@@ -22,6 +22,7 @@
   };
 
   services = {
+    tlp.enable = true;
     udev.extraRules = ''
       ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*", RUN+="${pkgs.ethtool}/bin/ethtool -s %k wol d"
       ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*", RUN+="${pkgs.iw}/bin/iw dev %k set power_save on"