summaryrefslogtreecommitdiff
path: root/modules/thinkpad.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-03-08 07:35:35 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-03-08 07:35:35 -0500
commit7e4fe7c88aace2d5ef3d1a10974d2503b250b442 (patch)
tree499dddae3e6c75dd9458a6205de517789cec6d14 /modules/thinkpad.nix
parent27136676414d506f26ee0a3e7aa38be545dd64e1 (diff)
Conditionally enable thinkpad config
Diffstat (limited to 'modules/thinkpad.nix')
-rw-r--r--modules/thinkpad.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/thinkpad.nix b/modules/thinkpad.nix
index df24573..6f63edc 100644
--- a/modules/thinkpad.nix
+++ b/modules/thinkpad.nix
@@ -9,7 +9,7 @@ in
};
};
- config = {
+ config = lib.mkIf cfg.enable {
services = {
tlp = {
enable = true;