From 7e4fe7c88aace2d5ef3d1a10974d2503b250b442 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 8 Mar 2021 07:35:35 -0500 Subject: Conditionally enable thinkpad config --- modules/thinkpad.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/thinkpad.nix') 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; -- cgit v1.2.3