aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-20 06:45:05 -0300
committerEuAndreh <eu@euandre.org>2020-08-20 06:45:05 -0300
commitfc98eb0312a13297ad74c34bf6b26332dd8edef1 (patch)
tree06714e5f5f3c51ad40e88605a78d6a7dc99463a4
parentCheckpoint: Shut down Prosody and matterbridge (diff)
downloadserver-fc98eb0312a13297ad74c34bf6b26332dd8edef1.tar.gz
server-fc98eb0312a13297ad74c34bf6b26332dd8edef1.tar.xz
Add songbooks documentatation
-rw-r--r--secrets/secret-envrc.shbin3314 -> 3363 bytes
-rw-r--r--vps-configuration.env.nix6
2 files changed, 6 insertions, 0 deletions
diff --git a/secrets/secret-envrc.sh b/secrets/secret-envrc.sh
index 067183e..ff9d1cc 100644
--- a/secrets/secret-envrc.sh
+++ b/secrets/secret-envrc.sh
Binary files differ
diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix
index f5a9122..9013fb8 100644
--- a/vps-configuration.env.nix
+++ b/vps-configuration.env.nix
@@ -18,6 +18,7 @@ let
gitRoot = "$GIT_ROOT";
gitPort = "$GIT_PORT";
systemStateVersion = "$SYSTEM_STATE_VERSION";
+ songbooksDocumentationTLD = "$SONGBOOKS_DOCUMENTATION_TLD";
};
boneco = pkgs.stdenv.mkDerivation {
name = "boneco";
@@ -90,6 +91,11 @@ in {
enableACME = true;
root = boneco;
};
+ "${envsubstConfiguration.songbooksDocumentationTLD}" = {
+ forceSSL = true;
+ enableACME = true;
+ root = "/home/${envsubstConfiguration.userName}/songbooks/";
+ };
};
};