summaryrefslogtreecommitdiff
path: root/Biz/Cloud/Mumble.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2023-01-03 14:25:59 -0500
committerBen Sima <ben@bsima.me>2023-01-03 15:06:38 -0500
commit52fd37e2ac382a2630d3fe3d22ef86908d67a6b6 (patch)
treed866098af16bbea4e007f5867e21298a8866528a /Biz/Cloud/Mumble.nix
parentad02b2b02da71f0a71c9dcc8bd595afec8e4bee7 (diff)
Add mumble and botamusique services
Diffstat (limited to 'Biz/Cloud/Mumble.nix')
-rw-r--r--Biz/Cloud/Mumble.nix28
1 files changed, 28 insertions, 0 deletions
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";
+ };
+ };
+ };
+}