fix masto

This commit is contained in:
Vivian 2023-12-20 16:19:31 +01:00
parent e82b6cad69
commit 31efb2f0e6

View file

@ -34,7 +34,7 @@ in
services.mastodon = {
enable = true;
package = pkgs.v.glitch-soc;
streamingPort = 55000;
streamingProcesses = 3;
webPort = 55001;
enableUnixSocket = false;
localDomain = "xirion.net";
@ -103,5 +103,5 @@ in
networking.firewall =
let cfg = config.services.mastodon;
in { allowedTCPPorts = [ cfg.streamingPort cfg.webPort ]; };
in { allowedTCPPorts = [ cfg.webPort ]; };
}