Merge pull request #19805 from joachifm/startAt-fixups
Fixup remaining uses of startAt
This commit is contained in:
commit
bdc4397303
@ -84,7 +84,7 @@ let cfg = config.system.autoUpgrade; in
|
||||
${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch ${toString cfg.flags}
|
||||
'';
|
||||
|
||||
startAt = optionalString cfg.enable cfg.dates;
|
||||
startAt = optional cfg.enable cfg.dates;
|
||||
};
|
||||
|
||||
};
|
||||
|
@ -53,7 +53,7 @@ in
|
||||
systemd.services.nix-gc =
|
||||
{ description = "Nix Garbage Collector";
|
||||
script = "exec ${config.nix.package.out}/bin/nix-collect-garbage ${cfg.options}";
|
||||
startAt = optionalString cfg.automatic cfg.dates;
|
||||
startAt = optional cfg.automatic cfg.dates;
|
||||
};
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user