From eb7f18d70df033d1a9663843da183cebd749777f Mon Sep 17 00:00:00 2001 From: notohh Date: Thu, 4 Jan 2024 14:42:07 -0500 Subject: [PATCH] sakura: remove attic --- hosts/sakura/services/atticd.nix | 36 -------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 hosts/sakura/services/atticd.nix diff --git a/hosts/sakura/services/atticd.nix b/hosts/sakura/services/atticd.nix deleted file mode 100644 index 058c976..0000000 --- a/hosts/sakura/services/atticd.nix +++ /dev/null @@ -1,36 +0,0 @@ -{config, ...}: { - sops.secrets.attic-secret = {}; - sops.secrets.s3-keyid = {}; - sops.secrets.s3-secret-key = {}; - - services.atticd = { - enable = true; - credentialsFile = config.sops.secrets.attic-secret.path; - settings = { - listen = "[::]:8100"; - allowed-hosts = ["cache.notohh.dev"]; - database.url = "postgres://atticd:atticd@192.168.1.211:5432/atticd"; - api-endpoint = "https://cache.notohh.dev/"; - require-proof-of-possession = false; - chunking = { - nar-size-threshold = 64 * 1024; # 64 KiB - - min-size = 16 * 1024; # 16 KiB - - avg-size = 64 * 1024; # 64 KiB - - max-size = 256 * 1024; # 256 KiB - }; - storage = { - type = "s3"; - region = "us-east-005"; - bucket = "notoh-binary-cache"; - endpoint = "https://s3.us-east-005.backblazeb2.com"; - }; - garbage-collection = { - interval = "12 hours"; - default-retention-period = "2 weeks"; - }; - }; - }; -}