summary refs log tree commit diff stats
path: root/modules
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
parentc6c996c7272b2233b74649e41fde99a1ff25e553 (diff)
downloadnixfiles-363b6f0870750edea48e865a84dee9c5a0ae0196.tar.lz
nixfiles-363b6f0870750edea48e865a84dee9c5a0ae0196.tar.zst
nixfiles-363b6f0870750edea48e865a84dee9c5a0ae0196.zip
nix: Use normal configuration for auto-optimise-store
Diffstat (limited to 'modules')
-rw-r--r--modules/nix.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/nix.nix b/modules/nix.nix
index e1f1e163..504942ec 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";