summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2020-10-31 12:55:47 -0400
committerKjetil Orbekk <kj@orbekk.com>2020-10-31 12:56:19 -0400
commit87d03e02c911667aad3463d30521e938e805207c (patch)
tree37aa594279dfbbf2e14f94f7766c1173caae3135 /config
parente62f947ab16072bacdbd3ff0d2cd3b56b7e0a044 (diff)
pincer changes
Diffstat (limited to 'config')
-rw-r--r--config/thinkpad.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/config/thinkpad.nix b/config/thinkpad.nix
index 36320b8..5bd1707 100644
--- a/config/thinkpad.nix
+++ b/config/thinkpad.nix
@@ -3,10 +3,9 @@
services = {
tlp = {
enable = true;
- extraConfig = ''
- # Needed for either SSD or btrfs.
- SATA_LINKPWR_ON_BAT=max_performance
- '';
+ settings = {
+ "SATA_LINKPWR_ON_BAT" = "max_performance";
+ };
};
xserver.xkbModel = "thinkpad60";
};