initial commit
This commit is contained in:
commit
47c42dc7a6
14 changed files with 490 additions and 0 deletions
16
modules/matrix.nix
Normal file
16
modules/matrix.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.matrix-conduit = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
server_name = "matrix.extremist.software";
|
||||
allow_registration = true; # Disable after creating first user
|
||||
port = 6167;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 6167 8448 ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue