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:
parent
f5c9556129
commit
9882f0d55c
2 changed files with 9 additions and 9 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue