From 89ef1a1756098bd9afd857484bf9581e37af6069 Mon Sep 17 00:00:00 2001 From: Alexander Ried Date: Wed, 19 Oct 2016 02:06:59 +0200 Subject: [PATCH] nix-optimise module: fix startAt --- nixos/modules/services/misc/nix-optimise.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/nix-optimise.nix b/nixos/modules/services/misc/nix-optimise.nix index 87ce05c5a11..a76bfd9f1f1 100644 --- a/nixos/modules/services/misc/nix-optimise.nix +++ b/nixos/modules/services/misc/nix-optimise.nix @@ -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; }; };