From d9f0b2a3612c4c177972989ab599029b865948e6 Mon Sep 17 00:00:00 2001 From: Johannes Hendrik Gerard van der Weide Date: Wed, 6 Mar 2024 11:08:26 +0100 Subject: [PATCH] I bet this won't fix it :S --- services/iceshrimp.nix | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/services/iceshrimp.nix b/services/iceshrimp.nix index ed9f189..8188dbe 100644 --- a/services/iceshrimp.nix +++ b/services/iceshrimp.nix @@ -1,18 +1,24 @@ # FUCK { - services.iceshrimp = { - enable = true; # Actually enable the module - configureNginx = { - enable = false; + services = { + iceshrimp = { + enable = true; # Actually enable the module + configureNginx = { + enable = true; #? + }; + stateDir = "/var/lib/iceshrimp"; + mediaDir = "/var/lib/iceshrimp/files"; + settings = { + url = "https://mastodon.hermitcollective.net"; + maxNoteLength = 35124; # Length of the GPL3 + long; + maxCaptionLength = 5000; # We did it HermitCollective!! We solved accesibility! + ssl = true; + }; }; - stateDir = "/var/lib/iceshrimp"; - mediaDir = "/var/lib/iceshrimp/files"; - settings = { - url = "https://mastodon.hermitcollective.net"; - maxNoteLength = 35124; # Length of the GPL3 + long; - maxCaptionLength = 5000; # We did it HermitCollective!! We solved accesibility! - ssl = true; + nginx.virtualHosts."mastodon.hermitcollective.net" = { + forceSSL = true; + enableACME = true; }; }; }