diff options
Diffstat (limited to 'systems/atlas/attic.nix')
| -rw-r--r-- | systems/atlas/attic.nix | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/systems/atlas/attic.nix b/systems/atlas/attic.nix deleted file mode 100644 index d7d65c4..0000000 --- a/systems/atlas/attic.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - config, - secretsDir, - ... -}: { - age.secrets.atticCreds.file = secretsDir + "/atticCreds.age"; - - services.atticd = { - enable = true; - credentialsFile = config.age.secrets.atticCreds.path; - - settings = { - listen = "[::]:5000"; - api-endpoint = "https://cache.${config.networking.domain}/"; - - compression.type = "zstd"; - - chunking = let - kb = 1024; - in { - nar-size-threshold = 64 * kb; - min-size = 16 * kb; - avg-size = 64 * kb; - max-size = 256 * kb; - }; - - storage = { - type = "s3"; - region = "us-west-4"; - bucket = "getchoo-attic"; - endpoint = "https://s3.us-west-004.backblazeb2.com"; - }; - }; - }; -} |
