diff --git a/host/x86_64-linux/home/Bind.nix b/host/x86_64-linux/home/Bind.nix index 7fd98ec..de192a0 100644 --- a/host/x86_64-linux/home/Bind.nix +++ b/host/x86_64-linux/home/Bind.nix @@ -17,6 +17,7 @@ (mkBind "jellyfin_cache" "/var/cache/jellyfin") (mkBind "kavita" "/var/lib/kavita") (mkBind "letsencrypt" "/etc/letsencrypt") + (mkBind "murmur" "/var/lib/murmur") (mkBind "nextcloud" "/var/lib/nextcloud") (mkBind "ovpn" "/var/lib/ovpn") (mkBind "paperless" "/var/lib/paperless") diff --git a/host/x86_64-linux/home/Ddns.nix b/host/x86_64-linux/home/Ddns.nix index 5d4d2a4..c97f31e 100644 --- a/host/x86_64-linux/home/Ddns.nix +++ b/host/x86_64-linux/home/Ddns.nix @@ -11,6 +11,7 @@ in [ domain ] ++ map (sub: "${sub}.${domain}") [ + "chat" "cloud" "git" "mail" diff --git a/host/x86_64-linux/home/Mumble.nix b/host/x86_64-linux/home/Mumble.nix new file mode 100644 index 0000000..e4c9ed0 --- /dev/null +++ b/host/x86_64-linux/home/Mumble.nix @@ -0,0 +1,11 @@ +{ ... }: { + services.murmur = { + enable = true; + clientCertRequired = true; + password = "bonjour"; + port = 22666; + registerHostname = "chat.voronind.com"; + sslCert = "/etc/letsencrypt/live/voronind.com/fullchain.pem"; + sslKey = "/etc/letsencrypt/live/voronind.com/privkey.pem"; + }; +} diff --git a/host/x86_64-linux/home/Network.nix b/host/x86_64-linux/home/Network.nix index 055780f..40714dc 100644 --- a/host/x86_64-linux/home/Network.nix +++ b/host/x86_64-linux/home/Network.nix @@ -193,6 +193,10 @@ in { # Terraria server. ip46tables -I INPUT -j ACCEPT -i ${wan} -p tcp --dport 22777 + # Mumble. + ip46tables -I INPUT -j ACCEPT -i ${wan} -p tcp --dport 22666 + ip46tables -I INPUT -j ACCEPT -i ${wan} -p udp --dport 22666 + # Public SSH access. # ip46tables -I INPUT -j ACCEPT -i ${wan} -p tcp --dport 22143 ''; diff --git a/package/default.nix b/package/default.nix index 73c7229..8c41ef8 100644 --- a/package/default.nix +++ b/package/default.nix @@ -110,6 +110,7 @@ gparted # GUI disk utility just in case. jellyfin-media-player # Jellyfin client (self-hosted Netflix). loupe # Image viewer. + mumble # VoIP. obs-studio # Streaming/recording app. onlyoffice-bin # Office documents app suite. remmina # RDP app.