remove dead temperature.interval config option

This commit is contained in:
Damocles 2026-04-15 19:19:40 +02:00
parent 3854763ce5
commit 4d730f51f3
2 changed files with 12 additions and 16 deletions

View file

@ -55,7 +55,6 @@ QtObject {
}) })
property var temperature: ({ property var temperature: ({
enable: true, enable: true,
interval: 2000,
warm: 80, warm: 80,
hot: 90 hot: 90
}) })

View file

@ -127,9 +127,7 @@ in
description = "Brightness adjustment step (%)."; description = "Brightness adjustment step (%).";
}; };
}; };
temperature = moduleOpt "temperature" ( temperature = moduleOpt "temperature" {
(intervalOpt 2000)
// {
warm = lib.mkOption { warm = lib.mkOption {
type = lib.types.int; type = lib.types.int;
default = 80; default = 80;
@ -140,8 +138,7 @@ in
default = 90; default = 90;
description = "Temperature threshold for hot state (°C)."; description = "Temperature threshold for hot state (°C).";
}; };
} };
);
battery = moduleOpt "battery" { battery = moduleOpt "battery" {
warning = lib.mkOption { warning = lib.mkOption {
type = lib.types.int; type = lib.types.int;