summary refs log tree commit diff stats
path: root/modules/nix.nix
diff options
context:
space:
mode:
authorAlan Pearce2017-09-22 15:59:48 +0200
committerAlan Pearce2017-09-22 15:59:48 +0200
commit363b6f0870750edea48e865a84dee9c5a0ae0196 (patch)
tree3cc31d53d71e2c31daf929ecf4bdb13377878151 /modules/nix.nix
parentc6c996c7272b2233b74649e41fde99a1ff25e553 (diff)
downloadnixos-configuration-363b6f0870750edea48e865a84dee9c5a0ae0196.tar.lz
nixos-configuration-363b6f0870750edea48e865a84dee9c5a0ae0196.tar.zst
nixos-configuration-363b6f0870750edea48e865a84dee9c5a0ae0196.zip
nix: Use normal configuration for auto-optimise-store
Diffstat (limited to 'modules/nix.nix')
-rw-r--r--modules/nix.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/nix.nix b/modules/nix.nix
index e1f1e16..504942e 100644
--- a/modules/nix.nix
+++ b/modules/nix.nix
@@ -6,9 +6,7 @@
     daemonNiceLevel = 10;
     daemonIONiceLevel = 4;
 
-    extraOptions = ''
-      auto-optimise-store = true
-    '';
+    autoOptimiseStore = true;
     gc = {
       automatic = true;
       options = "--delete-older-than 30d";