chore(tazjin/polyanka): turn on automatic-gc module

Change-Id: I0521ded37ea047124c117b07d01016a6f0a1d4ac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7657
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2022-12-28 11:22:37 +03:00 committed by tazjin
parent 62e19a8321
commit d48667798c

View file

@ -97,6 +97,15 @@ in
];
};
# Automatically collect garbage from the Nix store.
services.depot.automatic-gc = {
enable = true;
interval = "daily";
diskThreshold = 2; # GiB
maxFreed = 8; # GiB
preserveGenerations = "14d";
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [