forked from
lass.pds.lassul.us/superconfig
This repository has no description
944 B
43 lines
1{ lib, ... }:
2{
3 services.murmur = {
4 enable = true;
5 allowHtml = false;
6 bandwidth = 10000000;
7 registerName = "lassul.us";
8 autobanTime = 30;
9 };
10 krebs.iptables.tables.filter.INPUT.rules = [
11 {
12 predicate = "-p tcp --dport 64738";
13 target = "ACCEPT";
14 }
15 {
16 predicate = "-p udp --dport 64738";
17 target = "ACCEPT";
18 }
19 ];
20
21 systemd.services.docker-mumble-web.serviceConfig = {
22 StandardOutput = lib.mkForce "journal";
23 StandardError = lib.mkForce "journal";
24 };
25 virtualisation.oci-containers.containers.mumble-web = {
26 image = "rankenstein/mumble-web:0.5";
27 environment = {
28 MUMBLE_SERVER = "lassul.us:64738";
29 };
30 ports = [
31 "64739:8080"
32 ];
33 };
34
35 services.nginx.virtualHosts."mumble.lassul.us" = {
36 enableACME = true;
37 forceSSL = true;
38 locations."/" = {
39 proxyPass = "http://localhost:64739";
40 proxyWebsockets = true;
41 };
42 };
43}