forked from mirrors/nixpkgs
nix-optimise module: fix startAt
This commit is contained in:
parent
c9941c4b5e
commit
89ef1a1756
|
@ -41,7 +41,7 @@ in
|
|||
systemd.services.nix-optimise =
|
||||
{ description = "Nix Store Optimiser";
|
||||
serviceConfig.ExecStart = "${config.nix.package}/bin/nix-store --optimise";
|
||||
startAt = optional cfg.automatic cfg.dates;
|
||||
startAt = optionals cfg.automatic cfg.dates;
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue