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,21 +127,18 @@ in
description = "Brightness adjustment step (%)."; description = "Brightness adjustment step (%).";
}; };
}; };
temperature = moduleOpt "temperature" ( temperature = moduleOpt "temperature" {
(intervalOpt 2000) warm = lib.mkOption {
// { type = lib.types.int;
warm = lib.mkOption { default = 80;
type = lib.types.int; description = "Temperature threshold for warm state (°C).";
default = 80; };
description = "Temperature threshold for warm state (°C)."; hot = lib.mkOption {
}; type = lib.types.int;
hot = lib.mkOption { default = 90;
type = lib.types.int; description = "Temperature threshold for hot state (°C).";
default = 90; };
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;