From 891c8a1f8d9778030ee3793f3e06a6287e184e41 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Tue, 17 Dec 2024 11:37:38 +0100 Subject: [PATCH 1/3] Disable attic compression --- modules/atticd/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/atticd/default.nix b/modules/atticd/default.nix index 507ba59..23d3aa8 100644 --- a/modules/atticd/default.nix +++ b/modules/atticd/default.nix @@ -16,10 +16,7 @@ path = "/mnt/hd/atticd"; }; - compression = { - level = 8; - type = "zstd"; - }; + compression.type = "none"; chunking = { nar-size-threshold = 64 * 1024; # 64 KiB From 0a403bb9e20f4e466c14916be142e00064ae38d0 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Tue, 17 Dec 2024 11:37:49 +0100 Subject: [PATCH 2/3] 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 From 0057fb33788587a176abf8154011d51267ad68d1 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Tue, 17 Dec 2024 11:37:59 +0100 Subject: [PATCH 3/3] Typo --- packages/forgejo-report-checks/forgejo-report-checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/forgejo-report-checks/forgejo-report-checks.py b/packages/forgejo-report-checks/forgejo-report-checks.py index a66a825..538399f 100644 --- a/packages/forgejo-report-checks/forgejo-report-checks.py +++ b/packages/forgejo-report-checks/forgejo-report-checks.py @@ -26,7 +26,7 @@ for result in data['results']: context=type, description=attr, target_url="https://git.aciceri.dev", # FIXME - state="success" if success else "failure" # ma be pending,success,failure,error_message + state="success" if success else "failure" # may be pending,success,failure,error_message ) )