fix: typo in auto-upgrade clanModule
This commit is contained in:
@@ -4,10 +4,10 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.clan.autoUpgrade;
|
cfg = config.clan.auto-upgrade;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.clan.autoUpgrade = {
|
options.clan.auto-upgrade = {
|
||||||
flake = lib.mkOption {
|
flake = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "Flake reference";
|
description = "Flake reference";
|
||||||
@@ -15,7 +15,7 @@ in
|
|||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
inherit (cfg.clan.autoUpgrade) flake;
|
inherit (cfg) flake;
|
||||||
enable = true;
|
enable = true;
|
||||||
dates = "02:00";
|
dates = "02:00";
|
||||||
randomizedDelaySec = "45min";
|
randomizedDelaySec = "45min";
|
||||||
|
|||||||
Reference in New Issue
Block a user