From cd2b150ca68062c871ca7cff8ea83e8dc1311cdf Mon Sep 17 00:00:00 2001 From: kat witch Date: Tue, 8 Dec 2020 17:43:09 +0000 Subject: [PATCH] uhh, also that --- configuration/hosts/samhain/services/thermal/thermal.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/configuration/hosts/samhain/services/thermal/thermal.nix b/configuration/hosts/samhain/services/thermal/thermal.nix index b645e731..f7458ce5 100644 --- a/configuration/hosts/samhain/services/thermal/thermal.nix +++ b/configuration/hosts/samhain/services/thermal/thermal.nix @@ -32,13 +32,8 @@ }; }; }; - services.thermald = let - cfg_file = pkgs.writeTextFile { - name = "cfg"; - text = (builtins.readFile ./kaede-thermald.xml); - }; - in { + services.thermald = { enable = true; - configFile = "${cfg_file}"; + configFile = "${./kaede-thermald.xml}"; }; }