From 3f1d7201bfc46ff9edaa109bc41b59908f99c23b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 6 Sep 2020 09:53:58 -0300 Subject: Refactor vps-configuration.nix: Split secrets from config and envsubst vars Also rename thingTLD to thingDomain. --- envsubst-configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 envsubst-configuration.nix (limited to 'envsubst-configuration.nix') diff --git a/envsubst-configuration.nix b/envsubst-configuration.nix new file mode 100644 index 0000000..e0fa592 --- /dev/null +++ b/envsubst-configuration.nix @@ -0,0 +1,13 @@ +{ }: { + TLD = "$TLD"; + dataRoot = "$DATA_ROOT"; + faviconsRoot = "$FAVICONS_ROOT"; + staticRoot = "$STATIC_ROOT"; + ciLogsRoot = "$CI_LOGS_ROOT"; + gitRoot = "$GIT_ROOT"; + systemStateVersion = "$SYSTEM_STATE_VERSION"; + userName = "$USER_NAME"; + nextcloudDatabaseUser = "$NEXTCLOUD_DATABASE_USER"; + secretsRoot = "$SECRETS_ROOT"; + prosodyEnable = "$PROSODY_ENABLE"; +} -- cgit v1.2.3