mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
feat: write prosody config (but incredibly cursed)
This commit is contained in:
parent
87594d9bff
commit
fc0dd5838e
1 changed files with 29 additions and 0 deletions
29
modules/services/prosody.nix
Normal file
29
modules/services/prosody.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
services.prosody = {
|
||||
enable = false;
|
||||
user = "acme";
|
||||
modules = {
|
||||
welcome = true;
|
||||
websocket = true;
|
||||
watchregistrations = true;
|
||||
};
|
||||
admins = [ "liv@liv.town" ];
|
||||
allowRegistration = false;
|
||||
ssl.cert = "/var/lib/acme/liv.town/cert.pem";
|
||||
ssl.key = "/var/lib/acme/liv.town/key.pem";
|
||||
virtualHosts."liv.town" = {
|
||||
enabled = true;
|
||||
domain = "liv.town";
|
||||
ssl.cert = "/var/lib/acme/liv.town/fullchain.pem";
|
||||
ssl.key = "/var/lib/acme/liv.town/key.pem";
|
||||
};
|
||||
muc = [
|
||||
{
|
||||
domain = "conference.liv.town";
|
||||
}
|
||||
];
|
||||
uploadHttp = {
|
||||
domain = "upload.liv.town";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue