diff options
author | Alexander Ried <ried@mytum.de> | 2016-10-19 02:06:59 +0200 |
---|---|---|
committer | Alexander Ried <ried@mytum.de> | 2016-10-19 02:22:12 +0200 |
commit | 89ef1a1756098bd9afd857484bf9581e37af6069 (patch) | |
tree | f9e29452d453ae16c24be5c0badd9c8424113afa | |
parent | c9941c4b5ef7acc1cb8d734acb383410d99c01ba (diff) | |
download | nixpkgs-89ef1a1756098bd9afd857484bf9581e37af6069.tar nixpkgs-89ef1a1756098bd9afd857484bf9581e37af6069.tar.gz nixpkgs-89ef1a1756098bd9afd857484bf9581e37af6069.tar.bz2 nixpkgs-89ef1a1756098bd9afd857484bf9581e37af6069.tar.lz nixpkgs-89ef1a1756098bd9afd857484bf9581e37af6069.tar.xz nixpkgs-89ef1a1756098bd9afd857484bf9581e37af6069.tar.zst nixpkgs-89ef1a1756098bd9afd857484bf9581e37af6069.zip |
nix-optimise module: fix startAt
-rw-r--r-- | nixos/modules/services/misc/nix-optimise.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; }; |