diff options
Diffstat (limited to 'nixos-switch.sh')
-rwxr-xr-x | nixos-switch.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nixos-switch.sh b/nixos-switch.sh index f2df2ac..7ddbec9 100755 --- a/nixos-switch.sh +++ b/nixos-switch.sh @@ -6,11 +6,8 @@ cd "$(dirname "${BASH_SOURCE[0]}")" set -x -if [[ "${1:-}" = '--bootstrap' ]]; then - USER_PASSWORD="$(cat ./secrets/base-image-old-password.txt)" -else - USER_PASSWORD="$(cat ./secrets/user-password.txt)" -fi +USER_PASSWORD="$(cat ./secrets/base-image-old-password.txt)" +export TLD='euandreh.xyz' # Idempotent init folders and permissions FOLDERS='/data/ /data/secrets/ /data/favicons/ /data/git/ /data/static/ci-logs/ /data/static/ci-logs/placeholder/ /data/nixos/ /data/static/logrotate/' |