summaryrefslogtreecommitdiff
path: root/Biz/Cloud/Comms/Mumble.nix
blob: d728a0730f69afc91ae7661c802147256c46a858 (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
26
27
28
{ 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";
      };
    };
  };
}