From ac7b2ad12d8ce6b5ac4c5a29721adc5f211b97ad Mon Sep 17 00:00:00 2001 From: inexcode Date: Thu, 14 Jul 2022 20:48:26 +0300 Subject: [PATCH] rolling --- nixos-infect | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos-infect b/nixos-infect index 12fab21..ef6d5be 100755 --- a/nixos-infect +++ b/nixos-infect @@ -10,14 +10,14 @@ makeConf() { if [[ $PASSWORD == null ]]; then export PASSWORD=$(printf $ENCODED_PASSWORD | base64 --decode) fi - + export ESCAPED_PASSWORD=$(printf $ENCODED_PASSWORD | base64 --decode | jq -Rs .) export HASHED_PASSWORD=$( mkpasswd -m sha-512 "$PASSWORD" ) # NB <<"EOF" quotes / $ ` in heredocs, <