diff options
author | Adrian Kummerlaender | 2019-02-14 12:41:06 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2019-02-14 12:41:06 +0100 |
commit | 9a813e9b41ced5b6e446332649d5e136ee5ed9f8 (patch) | |
tree | 1d5ce15d1dcbc5bcd48f0a0b53a39bfbd18ee545 | |
parent | b99091df1c3d7084d5b817304267f2ffdaed3e03 (diff) | |
download | nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar.gz nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar.bz2 nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar.lz nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar.xz nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.tar.zst nixos_system-9a813e9b41ced5b6e446332649d5e136ee5ed9f8.zip |
Add TLP config
-rw-r--r-- | host/athena.nix | 8 |
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; |