summaryrefslogtreecommitdiffstats
path: root/system/services
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-10-13 13:40:22 +0200
committersils <sils@sils.li>2023-10-13 13:41:24 +0200
commitcfdd2e350ff5df55beef4fa5b7bc11e9ff5e23c1 (patch)
tree9b7c03a2cfe6d945e9942286aba7cc246c583d78 /system/services
parentfix(system/services/mastodon): change string to list of string (diff)
downloadnixos-server-cfdd2e350ff5df55beef4fa5b7bc11e9ff5e23c1.zip
fix(system/services/mastodon): remove unneccessary stringcasts
Diffstat (limited to '')
-rw-r--r--system/services/mastodon/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/services/mastodon/default.nix b/system/services/mastodon/default.nix
index fee472e..7522d99 100644
--- a/system/services/mastodon/default.nix
+++ b/system/services/mastodon/default.nix
@@ -10,7 +10,7 @@ in {
fromAddress = emailAddress;
user = emailAddress;
host = "server1.vhack.eu";
- passwordFile = "${config.age.secrets.mastodonMail.path}";
+ passwordFile = config.age.secrets.mastodonMail.path;
};
extraConfig = {
WEB_DOMAIN = "mastodon.vhack.eu";
@@ -22,7 +22,7 @@ in {
enable = true;
recommendedProxySettings = true; # required for redirections to work
virtualHosts = {
- "${config.services.mastodon.extraConfig.WEB_DOMAIN}" = {
+ "config.services.mastodon.extraConfig.WEB_DOMAIN" = {
root = "${config.services.mastodon.package}/public/";
# mastodon only supports https, but you can override this if you offload tls elsewhere.
forceSSL = true;