From 6a4f95482fa2c0faeafa028eae164d00c6418ac3 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 11 Feb 2026 14:43:01 -0800 Subject: add vps stuff; fix internet issues plauging my devices --- nix/modules/home/mpd.nix | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'nix/modules/home/mpd.nix') diff --git a/nix/modules/home/mpd.nix b/nix/modules/home/mpd.nix index 3ab9d2d..8f646ea 100644 --- a/nix/modules/home/mpd.nix +++ b/nix/modules/home/mpd.nix @@ -24,19 +24,20 @@ always_on "yes" # prevent MPD from disconnecting all listeners when playback is stopped. tags "yes" # httpd supports sending tags to listening streams. } -audio_output { - type "shout" - encoding "ogg" - name "my cool stream" - host "localhost" - port "8000" - mount "/example.ogg" - user "source" - password "" - bitrate "64" - format "44100:16:1" - description "Nullring public radio" +audio_output { + type "shout" + name "My VPS Stream" + host "127.0.0.1" + port "8888" # This must match your SSH tunnel local port + mount "/stream" # The URL path (e.g. http://vps:8000/stream) + password "SuperSecretSourcePass" + bitrate "128" + format "44100:16:2" + protocol "icecast2" # Essential for modern Icecast + user "source" # Default icecast source user + description "My MPD Stream" + genre "Mixed" } ''; }; -- cgit v1.3