22 lines
530 B
Nix
22 lines
530 B
Nix
|
let
|
||
|
port = 64738;
|
||
|
in
|
||
|
{
|
||
|
services.murmur = {
|
||
|
inherit port;
|
||
|
enable = true;
|
||
|
openFirewall = true;
|
||
|
users = 16;
|
||
|
welcometext = "Bienvenue sur le serveur Mumble expérimental de la DGNum.";
|
||
|
registerHostname = "voice.lab.dgnum.eu";
|
||
|
password = "coupe-boulon";
|
||
|
logFile = "/var/log/murmur/murmurd.log";
|
||
|
};
|
||
|
services.nginx.virtualHosts."voice.lab.dgnum.eu" = {
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
serverAliases = [ ];
|
||
|
locations."/".proxyPass = "http://localhost:${toString port}/";
|
||
|
};
|
||
|
}
|