1 { pkgs, lib, config, ... }:
3 inherit (config) networking;
4 inherit (config.services) biboumi;
5 inherit (config.users) users groups;
8 networking.nftables.ruleset = ''
9 add rule inet filter net2fw tcp dport ${toString biboumi.settings.identd_port} counter accept comment "identd"
10 add rule inet filter fw2net meta skuid ${users.biboumi.name} meta l4proto tcp counter accept comment "Biboumi"
12 users.users."biboumi".isSystemUser = true;
13 users.users."biboumi".group = groups."biboumi".name;
14 users.groups."biboumi" = {};
15 systemd.services.biboumi.after = ["prosody.service"];
19 hostname = "biboumi.${networking.domain}";
20 password = "useless-secret-on-loopback";
21 xmpp_server_ip = "127.0.0.1";
24 "julm@${networking.domain}"
26 #fixed_irc_server = "";
27 persistent_by_default = true;
28 realname_customization = true;
29 realname_from_jid = false;