fix masto
This commit is contained in:
parent
521df58130
commit
7f78481d9e
1 changed files with 2 additions and 2 deletions
|
@ -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 ]; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue