diff --git a/modules/Modules.qml b/modules/Modules.qml index 0a2b753..eea208d 100644 --- a/modules/Modules.qml +++ b/modules/Modules.qml @@ -55,7 +55,6 @@ QtObject { }) property var temperature: ({ enable: true, - interval: 2000, warm: 80, hot: 90 }) diff --git a/nix/hm-module.nix b/nix/hm-module.nix index aa71894..eec773a 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -127,21 +127,18 @@ in description = "Brightness adjustment step (%)."; }; }; - temperature = moduleOpt "temperature" ( - (intervalOpt 2000) - // { - warm = lib.mkOption { - type = lib.types.int; - default = 80; - description = "Temperature threshold for warm state (°C)."; - }; - hot = lib.mkOption { - type = lib.types.int; - default = 90; - description = "Temperature threshold for hot state (°C)."; - }; - } - ); + temperature = moduleOpt "temperature" { + warm = lib.mkOption { + type = lib.types.int; + default = 80; + description = "Temperature threshold for warm state (°C)."; + }; + hot = lib.mkOption { + type = lib.types.int; + default = 90; + description = "Temperature threshold for hot state (°C)."; + }; + }; battery = moduleOpt "battery" { warning = lib.mkOption { type = lib.types.int;