summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-07-08 07:49:35 +0200
committerAlan Pearce2024-07-08 07:49:35 +0200
commitf3dcdc979045dd5d967720c5a5ec768cd50283f2 (patch)
tree8d9cd77b227b4923a9ab4c16e0ae674c862e1576 /system
parentf4003610a2a6a3c0995ce23a3adafa03f55451ba (diff)
downloadnixfiles-f3dcdc979045dd5d967720c5a5ec768cd50283f2.tar.lz
nixfiles-f3dcdc979045dd5d967720c5a5ec768cd50283f2.tar.zst
nixfiles-f3dcdc979045dd5d967720c5a5ec768cd50283f2.zip
linde: automatically run etc compaction
Diffstat (limited to 'system')
-rw-r--r--system/linde.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/linde.nix b/system/linde.nix
index c0af9144..ee680eb0 100644
--- a/system/linde.nix
+++ b/system/linde.nix
@@ -943,6 +943,9 @@ in
     enable = true;
     initialClusterState = "existing";
     dataDir = "/var/lib/etcd"; # TODO backup
+    extraConf = {
+      AUTO_COMPACTION_RETENTION = "1h";
+    };
   };
 
   services.dex =