From 0a403bb9e20f4e466c14916be142e00064ae38d0 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Tue, 17 Dec 2024 11:37:49 +0100 Subject: [PATCH] Change attic directory --- modules/atticd/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/atticd/default.nix b/modules/atticd/default.nix index 23d3aa8..6af974f 100644 --- a/modules/atticd/default.nix +++ b/modules/atticd/default.nix @@ -5,7 +5,7 @@ settings = { listen = "0.0.0.0:8081"; allowed-hosts = [ ]; # Allow all hosts - # api-endpoint = "https://cache.staging.mlabs.city/"; + # api-endpoint = "https://cache.aciceri.dev"; soft-delete-caches = false; require-proof-of-possession = true; @@ -13,11 +13,13 @@ storage = { type = "local"; - path = "/mnt/hd/atticd"; + path = "/mnt/hd/attic"; }; compression.type = "none"; + garbage-collection.interval = "0 hours"; # disable garbage collection + chunking = { nar-size-threshold = 64 * 1024; # 64 KiB min-size = 16 * 1024; # 16 KiB