summaryrefslogtreecommitdiff
path: root/Omni/Cloud/Comms/Mumble.nix
blob: 66d21a59cdbf20da1fe39ac6b3e7b3e8a42a8f17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ config, ... }:

# mumble and related services
let ports = import ../Ports.nix;
in {
  services.murmur = {
    enable = true;
    openFirewall = true;
    environmentFile = "/var/lib/murmur/murmurd.env";
    registerHostname = config.networking.domain;
    registerName = config.networking.domain;
  };

  services.botamusique = {
    enable = true;
    settings = {
      webinterface = {
        enabled = true;
        listening_addr = "127.0.0.1";
        listening_port = ports.botamusique;
      };
      radio = { lofi = "https://live.hunter.fm/lofi_high"; };
    };
  };
}