Spindown typo fix and password recap imroved. It has to be improved further with a for loop.

This commit is contained in:
Raphaël Numbus
2025-12-31 17:11:30 +01:00
parent 108cefb2df
commit cc05cdb7e6
2 changed files with 14 additions and 10 deletions
+13 -9
View File
@@ -610,15 +610,19 @@ sum_up() {
Please save these secrets in a secure location (e.g., a password manager). Please save these secrets in a secure location (e.g., a password manager).
**Service Credentials:** **Service Credentials:**
* **Home Assistant MQTT User:** \`$HOME_ASSISTANT_MQTT_USER\` $( [[ -n ${HOME_ASSISTANT_MQTT_USER:-} ]] && echo "* **Home Assistant MQTT User:** \`${HOME_ASSISTANT_MQTT_USER}\`" && \
* **Home Assistant MQTT Password:** \`$HOME_ASSISTANT_MQTT_PASSWORD\` echo "* **Home Assistant MQTT Password:** \`$HOME_ASSISTANT_MQTT_PASSWORD\`" || echo "* **Home assistant:** *Not configured*" )
* **Passbolt DB Name:** \`$PASSBOLT_MYSQL_DATABASE\` $( [[ -n ${FTLCONF_WEBSERVER_PASSWORD:-} ]] && echo "* **Pi-hole Web Password:** \`${FTLCONF_WEBSERVER_PASSWORD}\`" && \
* **Passbolt DB User:** \`$PASSBOLT_MYSQL_USER\` || echo "* **Pi-hole:** *Not configured*" )
* **Passbolt DB Password:** \`$PASSBOLT_MYSQL_PASSWORD\` $( [[ -n ${PASSBOLT_DB_NAME:-} ]] && echo "* **Passbolt DB Name:** \`${PASSBOLT_DB_NAME}\`" && \
* **Pi-hole Web Password:** \`$FTLCONF_WEBSERVER_PASSWORD\` echo "* **Passbolt DB User:** \`${PASSBOLT_DB_USERNAME}\`" && echo "* **Passbolt DB Password:** \`${PASSBOLT_DB_PASSWORD}\`" \
* **Immich DB Name:** \`$IMMICH_DB_DATABASE_NAME\` || echo "* **Pi-hole:** *Not configured*" )
* **Immich DB User:** \`$IMMICH_DB_USERNAME\` $( [[ -n ${IMMICH_DB_NAME:-} ]] && echo "* **Immich DB Name:** \`${Immich_DB_NAME}\`" && \
* **Immich DB Password:** \`$IMMICH_DB_PASSWORD\` echo "* **Immich DB User:** \`${IMMICH_DB_USERNAME}\`" && echo "* **Immich DB Password:** \`${IMMICH_DB_PASSWORD}\`" \
|| echo "* **Immich:** *Not configured*" )
$( [[ -n ${GITEA_DB_NAME:-} ]] && echo "* **Gitea DB Name:** \`${GITEA_DB_NAME}\`" && \
echo "* **Gitea DB User:** \`${GITEA_DB_USERNAME}\`" && echo "* **Gitea DB Password:** \`${GITEA_DB_PASSWORD}\`" \
|| echo "* **Gitea:** *Not configured*" )
**Disk Encryption Keys:** **Disk Encryption Keys:**
$(for i in $(seq 1 "${#BOOT_DISKS_ID[@]}"); do f="final-nix-config/etc/secrets/disks/boot-disk-${i}"; [[ -f "$f" ]] && echo "* **Boot Disk $i Key:** \`$(cat "$f")\`"; done) $(for i in $(seq 1 "${#BOOT_DISKS_ID[@]}"); do f="final-nix-config/etc/secrets/disks/boot-disk-${i}"; [[ -f "$f" ]] && echo "* **Boot Disk $i Key:** \`$(cat "$f")\`"; done)
+1 -1
View File
@@ -2,7 +2,7 @@
let let
hardDrives = [ hardDrives = [
"DISK_LIST" DISK_LIST
]; ];
in in