3
0
Fork 0
forked from mirrors/nixpkgs

nix-optimise module: fix startAt

This commit is contained in:
Alexander Ried 2016-10-19 02:06:59 +02:00
parent c9941c4b5e
commit 89ef1a1756

View file

@ -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;
};
};