STAGING_ACME is optional (default is false)

This commit is contained in:
Alexander Tomokhov 2023-12-28 20:19:34 +04:00
parent 743129d6cb
commit 774bea292f

View file

@ -15,12 +15,12 @@
: "${LUSER:?LUSER variable is not set}" : "${LUSER:?LUSER variable is not set}"
: "${NIX_VERSION:?NIX_VERSION variable is not set}" : "${NIX_VERSION:?NIX_VERSION variable is not set}"
: "${PROVIDER:?PROVIDER variable is not set}" : "${PROVIDER:?PROVIDER variable is not set}"
: "${STAGING_ACME:?STAGING_ACME variable is not set}"
# optional variables # optional variables
: "${NIXOS_CONFIG_ID:=default}" : "${NIXOS_CONFIG_ID:=default}"
: "${SSH_AUTHORIZED_KEY:=}" : "${SSH_AUTHORIZED_KEY:=}"
: "${VOLUME_DEV_PATH:=}" : "${VOLUME_DEV_PATH:=}"
: "${STAGING_ACME:=false}"
readonly NL=$'\n' readonly NL=$'\n'
readonly LOCAL_FLAKE_DIR="/etc/nixos" readonly LOCAL_FLAKE_DIR="/etc/nixos"