summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-02-14 12:41:06 +0100
committerAdrian Kummerlaender2019-02-14 12:41:06 +0100
commit9a813e9b41ced5b6e446332649d5e136ee5ed9f8 (patch)
tree1d5ce15d1dcbc5bcd48f0a0b53a39bfbd18ee545
parentb99091df1c3d7084d5b817304267f2ffdaed3e03 (diff)
downloadnixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar
nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar.gz
nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar.bz2
nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar.xz
nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.zip
Add TLP config
-rw-r--r--host/athena.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/host/athena.nix b/host/athena.nix
index b40ea3d..cc007ec 100644
--- a/host/athena.nix
+++ b/host/athena.nix
@@ -53,7 +53,13 @@
speed = 250;
};
- services.tlp.enable = true;
+ services.tlp = {
+ enable = true;
+ extraConfig = ''
+ RESTORE_DEVICE_STATE_ON_STARTUP=1
+ DEVICES_TO_DISABLE_ON_STARTUP="bluetooth wwan"
+ '';
+ };
powerManagement.powertop.enable = true;