This commit is contained in:
soraefir committed 2026-05-08 00:29:12 +02:00
1 parent 94fdfa2b33
commit 868d2ce116
2 files changed
+2 -3

No files matched your search

-1
View File
@@ -62,7 +62,6 @@ in {
if [ -f "${config.sops.secrets."${lib.toUpper name}".path}" ]; then
PASS=$(grep "^DB_PASSWORD=" "${config.sops.secrets."${lib.toUpper name}".path}" | cut -d'=' -f2-)
echo $PASS
if $PSQL -tAc "ALTER USER ${name}_user WITH PASSWORD '$PASS';" ; then
echo "✅ Successfully set password for ${name}_user"
else