about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-11-11T21·25+0100
committertazjin <mail@tazj.in>2021-11-11T21·31+0000
commitff846eb6ec1fa73f33ca7dca01480c78858dbc9c (patch)
treede3692d6a5292715a2ee39e4ed8b518fb54c37df /users/tazjin
parent9239868daa54e4f17e6778910c7a49036c49e72e (diff)
chore(tazjin/tverskoy): Make automatic-gc more conservative r/3035
It keeps gc'ing things I'm using more than I would like. Some sort of
meme potential about my storage use on the laptop here.

Change-Id: I0f8078a92effaf32bcadc3355507469babbc2eb8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3826
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index 25ef17886abb..61edf9f831ff 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -196,8 +196,8 @@ in lib.fix(self: {
     depot.automatic-gc = {
       enable = true;
       interval = "1 hour";
-      diskThreshold = 42; # GiB
-      maxFreed = 100; # GiB
+      diskThreshold = 16; # GiB
+      maxFreed = 10; # GiB
       preserveGenerations = "14d";
     };
   };