forked from katzen-cafe/katzen-cafe
regret not doing this more granularly but oh well
This commit is contained in:
parent
8bb51cb919
commit
2f166efc51
7 changed files with 128 additions and 18 deletions
24
modules/prosody.nix
Normal file
24
modules/prosody.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.prosody = {
|
||||
enable = true;
|
||||
admins = [ "root@prosody.katzen.cafe" ];
|
||||
virtualHosts."prosody.katzen.cafe" = {
|
||||
domain = "prosody.katzen.cafe";
|
||||
enabled = true;
|
||||
};
|
||||
ssl = {
|
||||
key = "/var/lib/acme/prosody.katzen.cafe/key.pem";
|
||||
cert = "/var/lib/acme/prosody.katzen.cafe/fullchain.pem";
|
||||
};
|
||||
uploadHttp = {
|
||||
domain = "uploads.prosody.katzen.cafe";
|
||||
};
|
||||
muc = [ {
|
||||
domain = "conference.prosody.katzen.cafe";
|
||||
} ];
|
||||
};
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 5280 5281 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue