0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

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