feat: atticd to S3

This commit is contained in:
2026-06-05 12:42:55 +00:00
parent a30d1a93dd
commit 341e3a0e1c
4 changed files with 49 additions and 37 deletions
+12 -3
View File
@@ -1,10 +1,19 @@
{
domain,
...
}: { ... }: {
}: {
config,
...
}: {
hectic.services.attic = {
enable = true;
hostName = "cache.${domain}";
enable = true;
hostName = "cache.${domain}";
environmentFile = config.sops.secrets."atticd/environment".path;
storage = {
bucket = "cache-hectic-lab";
endpoint = "https://hel1.your-objectstorage.com";
region = "hel1";
};
};
services.nginx.virtualHosts."cache.${domain}" = {
+1
View File
@@ -117,6 +117,7 @@ in {
"init-postgresql" = {
key = "init-postgresql";
};
"atticd/environment" = {};
"ssl/porkbun/${domain}/domain.cert.pem" = {
group = "nginx";
mode = "0440";