feat: Update garbage collection options
Adjust default garbage collection intervals and retention periods. Set default GC to run weekly and retain 14 days on nixos module and to run daily and retain 7 days on the 64-linux module. Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
58dd6f0e63
commit
20cefaf839
2 changed files with 7 additions and 2 deletions
|
@ -35,6 +35,11 @@
|
|||
flake = lib.mkForce "git+file:///var/lib/gitea/repositories/harald/nixcfg.git#mx";
|
||||
};
|
||||
|
||||
gc = {
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
|
||||
programs.git.config.safe.directory = "/var/lib/gitea/repositories/harald/nixcfg.git";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue