aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/tools/mastodon
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-01 12:51:51 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-01 13:32:32 +0200
commit29f8cb850d74b456d6481a456311bbf5361d328c (patch)
tree2bdcdc21780950683d0528da66b050f2a24e3b20 /modules/private/websites/tools/mastodon
parent2e48907d64491a06454b342a1a56d03a0835753d (diff)
downloadNix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.gz
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.tar.zst
Nix-29f8cb850d74b456d6481a456311bbf5361d328c.zip
Refactor websites options
Diffstat (limited to 'modules/private/websites/tools/mastodon')
-rw-r--r--modules/private/websites/tools/mastodon/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/websites/tools/mastodon/default.nix b/modules/private/websites/tools/mastodon/default.nix
index 1a4b387..d67ae2b 100644
--- a/modules/private/websites/tools/mastodon/default.nix
+++ b/modules/private/websites/tools/mastodon/default.nix
@@ -77,14 +77,14 @@ in {
77 }; 77 };
78 78
79 79
80 services.websites.tools.modules = [ 80 services.websites.env.tools.modules = [
81 "headers" "proxy" "proxy_wstunnel" "proxy_http" 81 "headers" "proxy" "proxy_wstunnel" "proxy_http"
82 ]; 82 ];
83 system.extraSystemBuilderCmds = '' 83 system.extraSystemBuilderCmds = ''
84 mkdir -p $out/webapps 84 mkdir -p $out/webapps
85 ln -s ${mcfg.workdir}/public/ $out/webapps/tools_mastodon 85 ln -s ${mcfg.workdir}/public/ $out/webapps/tools_mastodon
86 ''; 86 '';
87 services.websites.tools.vhostConfs.mastodon = { 87 services.websites.env.tools.vhostConfs.mastodon = {
88 certName = "eldiron"; 88 certName = "eldiron";
89 addToCerts = true; 89 addToCerts = true;
90 hosts = ["mastodon.immae.eu" ]; 90 hosts = ["mastodon.immae.eu" ];