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}"; }; }