From 774bea292f912892856272ec1a801c20ce1cb165 Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Thu, 28 Dec 2023 20:19:34 +0400 Subject: [PATCH] STAGING_ACME is optional (default is false) --- nixos-infect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-infect b/nixos-infect index a521338..ea03602 100755 --- a/nixos-infect +++ b/nixos-infect @@ -15,12 +15,12 @@ : "${LUSER:?LUSER variable is not set}" : "${NIX_VERSION:?NIX_VERSION variable is not set}" : "${PROVIDER:?PROVIDER variable is not set}" -: "${STAGING_ACME:?STAGING_ACME variable is not set}" # optional variables : "${NIXOS_CONFIG_ID:=default}" : "${SSH_AUTHORIZED_KEY:=}" : "${VOLUME_DEV_PATH:=}" +: "${STAGING_ACME:=false}" readonly NL=$'\n' readonly LOCAL_FLAKE_DIR="/etc/nixos"