1 { pkgs, lib, config, ... }:
3 inherit (config.users) users;
4 domain = config.networking.domain;
7 networking.nftables.ruleset = ''
8 add rule inet filter net2fw udp dport 64738 counter accept comment "Murmur"
9 add rule inet filter net2fw tcp dport 64738 counter accept comment "Murmur"
11 users.groups.acme.members = [ users."murmur".name ];
12 security.acme.certs."${domain}" = {
13 postRun = "systemctl try-restart --no-block murmur";
15 systemd.services.murmur = {
16 wants = [ "acme-selfsigned-${domain}.service" "acme-${domain}.service"];
17 after = [ "acme-selfsigned-${domain}.service" ];
22 Bienvenue sur mumble.sourcephile.fr
23 Avant de commencer à parler, rejoignez un salon ou bien créez en un nouveau !
26 registerName = "sourcephile";
27 registerHostname = "mumble.${domain}";
28 #registerUrl = "https://${domain}";
29 #registerLocation = "FR";
32 sslKey = "/var/lib/acme/${domain}/full.pem";
34 username = "[A-Za-z0-9_-]{2,12}"
35 channelnestinglimit = 10