mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 12:01:27 +00:00
Hotfix: Return HASHED_PASSWORD generation
This commit is contained in:
parent
2cd5e65579
commit
a52e3105d0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue