servo: lay the skeleton files for a XMPP (jabber) server
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./ddns-he.nix
|
./ddns-he.nix
|
||||||
|
./ejabberd.nix
|
||||||
./freshrss.nix
|
./freshrss.nix
|
||||||
./gitea.nix
|
./gitea.nix
|
||||||
./goaccess.nix
|
./goaccess.nix
|
||||||
|
13
machines/servo/services/ejabberd.nix
Normal file
13
machines/servo/services/ejabberd.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# docs:
|
||||||
|
# - <https://docs.ejabberd.im/admin/configuration/basic>
|
||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
# TODO: enable
|
||||||
|
lib.mkIf false {
|
||||||
|
sane.impermanence.service-dirs = [
|
||||||
|
{ user = "ejabberd"; group = "ejabberd"; directory = "/var/lib/ejabberd"; }
|
||||||
|
];
|
||||||
|
# TODO: allocate UIDs/GIDs ?
|
||||||
|
services.ejabberd.enable = true;
|
||||||
|
services.ejabberd.configFile = ./ejabberd.yaml;
|
||||||
|
}
|
0
machines/servo/services/ejabberd.yaml
Normal file
0
machines/servo/services/ejabberd.yaml
Normal file
Reference in New Issue
Block a user