attic: update
All checks were successful
ci/woodpecker/push/checks Pipeline was successful

This commit is contained in:
notohh 2023-06-25 13:19:14 -04:00
parent 42db292376
commit 8307144ed6
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,12 +1,15 @@
{config, ...}: { {config, ...}: {
sops.secrets.attic-secret = {}; sops.secrets.attic-secret = {};
services.atticd = { services.atticd = {
enable = true; enable = true;
credentialsFile = config.sops.secrets.attic-secret.path; credentialsFile = "/etc/attic/atticd.env";
settings = { settings = {
listen = "[::]:8100"; listen = "[::]:8100";
allowed-hosts = ["cache.notohh.dev"]; allowed-hosts = ["cache.notohh.dev"];
api-endpoint = "https://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 = { chunking = {
nar-size-threshold = 64 * 1024; # 64 KiB nar-size-threshold = 64 * 1024; # 64 KiB