From 52fd37e2ac382a2630d3fe3d22ef86908d67a6b6 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 3 Jan 2023 14:25:59 -0500 Subject: Add mumble and botamusique services --- Biz/Cloud/Mumble.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Biz/Cloud/Mumble.nix (limited to 'Biz/Cloud/Mumble.nix') diff --git a/Biz/Cloud/Mumble.nix b/Biz/Cloud/Mumble.nix new file mode 100644 index 0000000..5176117 --- /dev/null +++ b/Biz/Cloud/Mumble.nix @@ -0,0 +1,28 @@ +{ config, pkgs, ... }: + +# 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"; + }; + }; + }; +} -- cgit v1.2.3