fix: JSON formatting and config branch

providers/hetzner
Inex Code 2022-11-16 11:11:22 +03:00
parent 6bfe91dee4
commit f86b76f6bd
1 changed files with 4 additions and 2 deletions

View File

@ -21,7 +21,9 @@ makeConf() {
# NB <<"EOF" quotes / $ ` in heredocs, <<EOF does not
mkdir -p /etc/nixos
git clone https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git -b please-dont-merge /etc/nixos
git clone -b api-redis https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git /etc/nixos
# git clone https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git /etc/nixos
# Prevent grep for sending error code 1 (and halting execution) when no lines are selected : https://www.unix.com/man-page/posix/1P/grep
@ -51,7 +53,7 @@ makeConf() {
},
"dns": {
"provider": "CLOUDFLARE",
"apiKey": "$CF_TOKEN"
"apiKey": "$CF_TOKEN",
"useStagingACME": $STAGING_ACME
},
"server": {