cluster/services/attic: make dataDir writable
This commit is contained in:
parent
bf88c4720b
commit
116d257fc4
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ in
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue