fix: JSON formatting and config branch

This commit is contained in:
Inex Code 2022-11-16 11:11:22 +03:00
parent 6bfe91dee4
commit f86b76f6bd

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": {