aboutsummaryrefslogtreecommitdiff
path: root/nixos-switch.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-16 20:00:24 -0300
committerEuAndreh <eu@euandre.org>2020-11-16 20:00:43 -0300
commitf31ee928ba5d0babb8e758c1d2ac7691ff51bbfa (patch)
tree5189d3bc8a8c6d54f0c313bdf3d31e5a031f2955 /nixos-switch.sh
parentTODOs.org: Outline migration to Guix (diff)
downloadtoph-f31ee928ba5d0babb8e758c1d2ac7691ff51bbfa.tar.gz
toph-f31ee928ba5d0babb8e758c1d2ac7691ff51bbfa.tar.xz
Forget existing resource to start working on new VPS
Diffstat (limited to 'nixos-switch.sh')
-rwxr-xr-xnixos-switch.sh7
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/'