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 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";