This commit is contained in:
mjallen18
2026-04-08 16:07:48 -05:00
parent 079493b55e
commit b354dc202a
3 changed files with 75 additions and 9 deletions

View File

@@ -123,6 +123,14 @@ in
# nextcloud
# ------------------------------
# instanceid / passwordsalt / secret are written into config.php at
# install time. Store them here so the bootstrap stub in the nextcloud
# module can restore config.php if it ever gets zeroed again.
# Add to nas-secrets.yaml via: sops secrets/nas-secrets.yaml
# jallen-nas/nextcloud/instanceid: <value from config.php>
# jallen-nas/nextcloud/passwordsalt: <value from config.php>
# jallen-nas/nextcloud/secret: <value from config.php>
"jallen-nas/nextcloud/dbpassword" = sopsSettings // {
mode = "0650";
restartUnits = [ "nextcloud.service" ];