From ccbfeb097bce86a5c2e3d279c687baa86539a7f1 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Mon, 18 Aug 2025 15:40:13 +0200 Subject: [PATCH] fix module option defaults --- module.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module.nix b/module.nix index 1e6efe1..67061ed 100644 --- a/module.nix +++ b/module.nix @@ -22,15 +22,15 @@ in freeformType = with lib.types; attrsOf types.str; options = { CHECK_INTERVAL_DAYS = lib.mkOption { - default = ""; - type = lib.types.str; + default = 7; + type = lib.types.int; description = '' Base URL of the target Eintopf host. ''; }; QUOTA_WARNING_THRESHOLD_PERCENT = lib.mkOption { - default = ""; - type = lib.types.str; + default = 80; + type = lib.types.int; description = '' Radar group ID which events to sync. ''; @@ -44,7 +44,7 @@ in example = lib.literalExpression '' { EINTOPF_URL = "eintopf.info"; - RADAR_GROUP_ID = "436012"; + QUOTA_WARNING_RADAR_GROUP_ID = "436012"; } ''; };