fix nexcloud script

This commit is contained in:
soraefir
2026-06-07 15:33:50 +02:00
parent 7e5d777fc6
commit 4b2cbbff36

View File

@@ -71,6 +71,7 @@ in {
setup = {
trigger = "server";
envFile = config.sops.secrets."CUSTOM".path;
script = pkgs.writeShellScript "setup" ''
# Define the command wrapper
OCC="${pkgs.podman}/bin/podman --events-backend=none exec --env-file ${config.sops.secrets."CUSTOM".path} -e DOMAIN=${serverCfg.domain} -u www-data nextcloud-server php occ"