network monitoring

This commit is contained in:
Alex Tau 2025-06-07 15:59:05 +03:00
parent 8af7b683b6
commit 8b18d407d7
21 changed files with 434 additions and 53 deletions

View file

@ -16,12 +16,12 @@ let
description = "Whether this reading is enabled.";
};
warningTemp = lib.mkOption {
type = lib.types.nullOr lib.types.float;
type = lib.types.nullOr lib.types.numbers.positive;
default = null;
description = "Warning temperature threshold.";
};
criticalTemp = lib.mkOption {
type = lib.types.nullOr lib.types.float;
type = lib.types.nullOr lib.types.numbers.positive;
default = null;
description = "Critical temperature threshold.";
};