fix module option defaults
This commit is contained in:
parent
62676eaaa3
commit
ccbfeb097b
1 changed files with 5 additions and 5 deletions
10
module.nix
10
module.nix
|
|
@ -22,15 +22,15 @@ in
|
||||||
freeformType = with lib.types; attrsOf types.str;
|
freeformType = with lib.types; attrsOf types.str;
|
||||||
options = {
|
options = {
|
||||||
CHECK_INTERVAL_DAYS = lib.mkOption {
|
CHECK_INTERVAL_DAYS = lib.mkOption {
|
||||||
default = "";
|
default = 7;
|
||||||
type = lib.types.str;
|
type = lib.types.int;
|
||||||
description = ''
|
description = ''
|
||||||
Base URL of the target Eintopf host.
|
Base URL of the target Eintopf host.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
QUOTA_WARNING_THRESHOLD_PERCENT = lib.mkOption {
|
QUOTA_WARNING_THRESHOLD_PERCENT = lib.mkOption {
|
||||||
default = "";
|
default = 80;
|
||||||
type = lib.types.str;
|
type = lib.types.int;
|
||||||
description = ''
|
description = ''
|
||||||
Radar group ID which events to sync.
|
Radar group ID which events to sync.
|
||||||
'';
|
'';
|
||||||
|
|
@ -44,7 +44,7 @@ in
|
||||||
example = lib.literalExpression ''
|
example = lib.literalExpression ''
|
||||||
{
|
{
|
||||||
EINTOPF_URL = "eintopf.info";
|
EINTOPF_URL = "eintopf.info";
|
||||||
RADAR_GROUP_ID = "436012";
|
QUOTA_WARNING_RADAR_GROUP_ID = "436012";
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue