diff options
author | sils <sils@sils.li> | 2023-10-13 17:20:20 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-10-13 17:20:20 +0200 |
commit | 900d013b708fb84add332fe397a01991cf71a119 (patch) | |
tree | 91bfe2a4ba7e7834eab389a3f881a6499c253c9f /system/services/mastodon | |
parent | chore(version): v0.15.0 (diff) | |
download | nixos-server-900d013b708fb84add332fe397a01991cf71a119.tar.gz nixos-server-900d013b708fb84add332fe397a01991cf71a119.zip |
Revert "fix(system/services/mastodon): remove unneccessary stringcasts"
These stringcasts were mandatory. This reverts commit cfdd2e350ff5df55beef4fa5b7bc11e9ff5e23c1.
Diffstat (limited to '')
-rw-r--r-- | system/services/mastodon/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/services/mastodon/default.nix b/system/services/mastodon/default.nix index 7522d99..fee472e 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; |