From ff846eb6ec1fa73f33ca7dca01480c78858dbc9c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 11 Nov 2021 22:25:19 +0100 Subject: chore(tazjin/tverskoy): Make automatic-gc more conservative 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 Tested-by: BuildkiteCI --- users/tazjin/nixos/tverskoy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/tazjin') 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"; }; }; -- cgit 1.4.1