attic: configure garbage collection

This commit is contained in:
cy 2025-01-05 20:19:16 -05:00
parent d893b06a82
commit a46b6f5766
2 changed files with 5 additions and 0 deletions

View file

@ -18,6 +18,10 @@
path = "/mnt/attic"; path = "/mnt/attic";
}; };
garbage-collection = {
default-retention-period = "3 months";
};
chunking = { chunking = {
nar-size-threshold = 128 * 1024 * 1024; nar-size-threshold = 128 * 1024 * 1024;
min-size = 64 * 1024 * 1024; min-size = 64 * 1024 * 1024;

View file

@ -172,6 +172,7 @@
tmux tmux
file file
sops sops
attic-server
]; ];
environment.variables = { environment.variables = {