feat(tazjin/nixos): enable automatic-gc on all physical machines

Change-Id: I115c29da5d7038a5e6e917928a16a2b8c6eb084e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12692
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2024-10-27 15:39:40 +03:00 committed by clbot
parent f5c9556129
commit 9882f0d55c
2 changed files with 9 additions and 9 deletions

View file

@ -114,5 +114,14 @@ in
mosh.enable = true;
ssh.startAgent = true;
};
# Automatically collect garbage from the Nix store.
services.depot.automatic-gc = {
enable = true;
interval = "1 hour";
diskThreshold = 16; # GiB
maxFreed = 50; # GiB
preserveGenerations = "14d";
};
};
}

View file

@ -130,15 +130,6 @@ lib.fix (self: {
'';
xserver.videoDrivers = [ "amdgpu" ];
# Automatically collect garbage from the Nix store.
depot.automatic-gc = {
enable = true;
interval = "1 hour";
diskThreshold = 16; # GiB
maxFreed = 10; # GiB
preserveGenerations = "14d";
};
};
systemd.user.services.lieer-tazjin = {