fix: typo in auto-upgrade clanModule

This commit is contained in:
Johannes Kirschbauer
2025-04-27 11:57:04 +02:00
parent 8b1cc021f3
commit 7708df94c0

View File

@@ -4,10 +4,10 @@
...
}:
let
cfg = config.clan.autoUpgrade;
cfg = config.clan.auto-upgrade;
in
{
options.clan.autoUpgrade = {
options.clan.auto-upgrade = {
flake = lib.mkOption {
type = lib.types.str;
description = "Flake reference";
@@ -15,7 +15,7 @@ in
};
config = {
system.autoUpgrade = {
inherit (cfg.clan.autoUpgrade) flake;
inherit (cfg) flake;
enable = true;
dates = "02:00";
randomizedDelaySec = "45min";