Update modules/server/containers/apps/selfmark.nix

This commit is contained in:
2026-06-03 17:17:45 +02:00
parent a6788f13a8
commit f54dea8a13

View File

@@ -7,10 +7,8 @@ let
then "${containerCfg.subdomain}-${lib.strings.sanitizeDerivationName containerCfg.subpath}" then "${containerCfg.subdomain}-${lib.strings.sanitizeDerivationName containerCfg.subpath}"
else containerCfg.subdomain; else containerCfg.subdomain;
in { in {
sops = false;
db = false;
paths = [{ paths = [{
path = "${serverCfg.configPath}/selfmark/"; path = "${serverCfg.path.config}/selfmark/";
mode = "0444"; mode = "0444";
}]; }];
@@ -87,7 +85,11 @@ in {
"traefik.http.routers.${routerName}.middlewares" = "authentik"; "traefik.http.routers.${routerName}.middlewares" = "authentik";
} else {}); } else {});
overrides = { overrides = {
volumes = [ ]; volumes = [
"${serverCfg.path.dlComplete}:/books:rw"
"${serverCfg.path.books}:/output:rw"
"${serverCfg.path.config}/selfmark:/config:rw"
];
}; };
}; };
}; };