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