Hotfix: Return HASHED_PASSWORD generation

This commit is contained in:
inex 2021-11-18 21:04:13 +02:00
parent 2cd5e65579
commit a52e3105d0

View file

@ -5,6 +5,7 @@
set -e -o pipefail
makeConf() {
export HASHED_PASSWORD=$( mkpasswd -m sha-512 "$PASSWORD" )
# Skip everything if main config already present
[[ -e /etc/nixos/configuration.nix ]] && return 0
# NB <<"EOF" quotes / $ ` in heredocs, <<EOF does not