diff options
author | Robin Gloster <mail@glob.in> | 2017-03-21 02:16:29 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-03-21 02:17:09 +0100 |
commit | c808801937ec73e7df2e1cf671ecaecb04431eeb (patch) | |
tree | 12cef70988fe93314b927a17f56d8cf8854842b2 /nixos/modules/services/misc/nix-daemon.nix | |
parent | 818a37598cc2e5c195bc5e28049018ee91398978 (diff) | |
download | nixlib-c808801937ec73e7df2e1cf671ecaecb04431eeb.tar nixlib-c808801937ec73e7df2e1cf671ecaecb04431eeb.tar.gz nixlib-c808801937ec73e7df2e1cf671ecaecb04431eeb.tar.bz2 nixlib-c808801937ec73e7df2e1cf671ecaecb04431eeb.tar.lz nixlib-c808801937ec73e7df2e1cf671ecaecb04431eeb.tar.xz nixlib-c808801937ec73e7df2e1cf671ecaecb04431eeb.tar.zst nixlib-c808801937ec73e7df2e1cf671ecaecb04431eeb.zip |
nix-daemon: fix autoOptimiseStore option
Diffstat (limited to 'nixos/modules/services/misc/nix-daemon.nix')
-rw-r--r-- | nixos/modules/services/misc/nix-daemon.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix index fed646aadac4..cfb6a860178a 100644 --- a/nixos/modules/services/misc/nix-daemon.nix +++ b/nixos/modules/services/misc/nix-daemon.nix @@ -46,7 +46,7 @@ let binary-caches = ${toString cfg.binaryCaches} trusted-binary-caches = ${toString cfg.trustedBinaryCaches} binary-cache-public-keys = ${toString cfg.binaryCachePublicKeys} - auto-optimise-store = ${toString cfg.autoOptimiseStore} + auto-optimise-store = ${if cfg.autoOptimiseStore then "true" else "false"} ${optionalString cfg.requireSignedBinaryCaches '' signed-binary-caches = * ''} |