Skip to content

Commit

Permalink
Enable nix store GC (monthly)
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 6, 2024
1 parent 7a7f3e4 commit b369df6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions common/github-runner.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@
"nammayatri".num = 8;
};
};

# GC so the CI doesn't fill up the disk
# See https://nixos.wiki/wiki/Storage_optimization#Automation
nix.gc = {
automatic = true;
dates = "monthly";
options = "--delete-older-than 60d";
};
}

0 comments on commit b369df6

Please sign in to comment.