diff options
author | EuAndreh <eu@euandre.org> | 2020-09-06 09:53:58 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-09-06 15:48:45 -0300 |
commit | 3f1d7201bfc46ff9edaa109bc41b59908f99c23b (patch) | |
tree | 30c89f1f19c156c044855839b62ea3eeca0a739a /envsubst-configuration.nix | |
parent | nixos-switch.sh: Decouple the update of pires app from deploying the VPS (diff) | |
download | server-3f1d7201bfc46ff9edaa109bc41b59908f99c23b.tar.gz server-3f1d7201bfc46ff9edaa109bc41b59908f99c23b.tar.xz |
Refactor vps-configuration.nix: Split secrets from config and envsubst vars
Also rename thingTLD to thingDomain.
Diffstat (limited to 'envsubst-configuration.nix')
-rw-r--r-- | envsubst-configuration.nix | 13 |
1 files changed, 13 insertions, 0 deletions
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"; +} |