Keep at least 15 days of cache
This commit is contained in:
parent
58f883b09e
commit
0b70e3952f
2 changed files with 10 additions and 2 deletions
|
|
@ -153,5 +153,4 @@ jobs:
|
|||
- name: Cleanup
|
||||
if: always()
|
||||
run: |
|
||||
nix-collect-garbage -d
|
||||
rm -rf result .direnv
|
||||
|
|
|
|||
|
|
@ -17,7 +17,10 @@ in
|
|||
|
||||
my = {
|
||||
utils = {
|
||||
commons.enable = true;
|
||||
commons = {
|
||||
enable = true;
|
||||
gc.enable = false;
|
||||
};
|
||||
lxc-standard.enable = true;
|
||||
};
|
||||
|
||||
|
|
@ -35,6 +38,12 @@ in
|
|||
virtualisation.proxmox.enable = true;
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 15d";
|
||||
};
|
||||
|
||||
# Extra packages needed for CI operations
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue