diff --git a/nixos/modules/services/hardware/thermald.nix b/nixos/modules/services/hardware/thermald.nix index d197c723d558..5233794a20cc 100644 --- a/nixos/modules/services/hardware/thermald.nix +++ b/nixos/modules/services/hardware/thermald.nix @@ -4,37 +4,25 @@ with lib; let cfg = config.services.thermald; - in { - ###### interface - options = { - services.thermald = { - enable = mkOption { default = false; description = '' Whether to enable thermald, the temperature management daemon. ''; }; - }; - }; - ###### implementation - config = mkIf cfg.enable { - systemd.services.thermald = { description = "Thermal Daemon Service"; wantedBy = [ "multi-user.target" ]; script = "exec ${pkgs.thermald}/sbin/thermald --no-daemon --dbus-enable"; }; - }; - }