cluster/services/attic: make dataDir writable

This commit is contained in:
Max Headroom 2023-06-14 02:10:29 +02:00
parent bf88c4720b
commit 116d257fc4

View file

@ -47,7 +47,10 @@ in
groups.atticd = {}; groups.atticd = {};
}; };
systemd.services.atticd.serviceConfig.DynamicUser = lib.mkForce false; systemd.services.atticd.serviceConfig = {
DynamicUser = lib.mkForce false;
ReadWritePaths = [ dataDir ];
};
services.nginx.virtualHosts."cache-api.${tools.meta.domain}" = tools.nginx.vhosts.proxy config.links.atticServer.url; services.nginx.virtualHosts."cache-api.${tools.meta.domain}" = tools.nginx.vhosts.proxy config.links.atticServer.url;
} }