diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-03-08 07:35:35 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-03-08 07:35:35 -0500 |
commit | 7e4fe7c88aace2d5ef3d1a10974d2503b250b442 (patch) | |
tree | 499dddae3e6c75dd9458a6205de517789cec6d14 /modules/thinkpad.nix | |
parent | 27136676414d506f26ee0a3e7aa38be545dd64e1 (diff) |
Conditionally enable thinkpad config
Diffstat (limited to 'modules/thinkpad.nix')
-rw-r--r-- | modules/thinkpad.nix | 2 |
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; |