From eb89c555a1b76810892e9f75c01edaf427898c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=BF=20corey=20=28they/them=29?= Date: Wed, 11 Mar 2026 13:39:55 -0700 Subject: [PATCH] feat: enable zstd compression for Attic cache Enable zstd compression for new chunks pushed to the Attic binary cache on glyph. Reduces storage usage with minimal CPU overhead. Existing uncompressed chunks remain as-is; Attic handles mixed compressed/uncompressed chunks transparently. Co-Authored-By: Claude Opus 4.6 --- hosts/glyph/services/attic.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/glyph/services/attic.nix b/hosts/glyph/services/attic.nix index 946937c7..368b11b5 100644 --- a/hosts/glyph/services/attic.nix +++ b/hosts/glyph/services/attic.nix @@ -15,6 +15,10 @@ path = "/var/lib/atticd/storage"; }; + compression = { + type = "zstd"; + }; + chunking = { nar-size-threshold = 65536; min-size = 16384;