aboutsummaryrefslogtreecommitdiff
path: root/envsubst-configuration.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-09-06 09:53:58 -0300
committerEuAndreh <eu@euandre.org>2020-09-06 15:48:45 -0300
commit3f1d7201bfc46ff9edaa109bc41b59908f99c23b (patch)
tree30c89f1f19c156c044855839b62ea3eeca0a739a /envsubst-configuration.nix
parentnixos-switch.sh: Decouple the update of pires app from deploying the VPS (diff)
downloadserver-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.nix13
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";
+}