vueko: Add murmur

pull/48/head
Simon Bruder 2021-02-07 12:29:22 +01:00
parent 8037f5eb5e
commit f7287365ff
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 31 additions and 0 deletions

View File

@ -1,8 +1,18 @@
{ config, lib, pkgs, ... }:
let
# any nixpkgs fetcher fails with infinite recursion when importing a module
# from it
infinisilSystem = builtins.fetchTarball {
url = "https://github.com/Infinisil/system/archive/91c5df20db68a995155218c5334db0e394185ca8.tar.gz";
sha256 = "1qlz96mla0rlsqax9r8pmwycy8f8byisvjxlk2545mpk9lp2yspv";
};
in
{
imports = [
./hardware-configuration.nix
../../modules
"${infinisilSystem}/config/new-modules/murmur.nix"
];
sbruder = {
@ -47,6 +57,10 @@
locations."/".proxyPass = "http://localhost:5232";
};
"mumble.sbruder.de" = {
enableACME = true;
forceSSL = true;
};
};
};
@ -70,4 +84,21 @@
};
};
};
krops.secrets.murmur-superuser.owner = config.users.users.murmur.name;
services.murmur = {
enable = true;
openFirewall = true;
superuserPasswordFile = config.krops.secrets.murmur-superuser.path;
acmeDomain = "mumble.sbruder.de";
config = {
bandwidth = "128000";
obfuscate = true;
logfile = ""; # log to stdout
channelname = ''[ \\-=\\w\\#\\[\\]\\{\\}\\(\\)\\@\\|]+'';
username = "[-_a-zäöüß]+|SuperUser";
};
};
}