nix-optimise module: fix startAt
commit89ef1a1756098bd9afd857484bf9581e37af6069
authorAlexander Ried <ried@mytum.de>
dateWed 19 Oct 2016, 02:06 (10 years ago)
parentc9941c4
nixos/modules/services/misc/nix-optimise.nix+1−1
@@ -41,7 +41,7 @@ in
4141 systemd.services.nix-optimise =
4242 { description = "Nix Store Optimiser";
4343 serviceConfig.ExecStart = "${config.nix.package}/bin/nix-store --optimise";
44− startAt = optional cfg.automatic cfg.dates;
44+ startAt = optionals cfg.automatic cfg.dates;
4545 };
4646
4747 };