29 lines
682 B
Nix
29 lines
682 B
Nix
|
{ config, ... }:
|
|||
|
|
|||
|
{
|
|||
|
sops.secrets.murmur-superuser = {
|
|||
|
owner = config.users.users.murmur.name;
|
|||
|
sopsFile = ../secrets.yaml;
|
|||
|
};
|
|||
|
|
|||
|
users.users.murmur.isSystemUser = true; # Infinisil’s module does not set that
|
|||
|
services.murmur = {
|
|||
|
enable = true;
|
|||
|
openFirewall = true;
|
|||
|
superuserPasswordFile = config.sops.secrets.murmur-superuser.path;
|
|||
|
acmeDomain = "mumble.sbruder.de";
|
|||
|
config = {
|
|||
|
bandwidth = "128000";
|
|||
|
obfuscate = true;
|
|||
|
logfile = ""; # log to stdout
|
|||
|
|
|||
|
channelname = ''[ \\-=\\w\\#\\[\\]\\{\\}\\(\\)\\@\\|]+'';
|
|||
|
};
|
|||
|
};
|
|||
|
|
|||
|
services.nginx.virtualHosts."mumble.sbruder.de" = {
|
|||
|
enableACME = true;
|
|||
|
forceSSL = true;
|
|||
|
};
|
|||
|
}
|