diff options
| author | Preston Pan <ret2pop@gmail.com> | 2026-02-11 14:43:01 -0800 |
|---|---|---|
| committer | Preston Pan <ret2pop@gmail.com> | 2026-02-11 14:43:01 -0800 |
| commit | 6a4f95482fa2c0faeafa028eae164d00c6418ac3 (patch) | |
| tree | 8f87a90ae697b1a1ea6c3ed63c59d5e22de55425 /nix/modules/home/mpd.nix | |
| parent | a3106cdc192a64daa6421dc63ab3dd6000bdc112 (diff) | |
add vps stuff; fix internet issues plauging my devices
Diffstat (limited to 'nix/modules/home/mpd.nix')
| -rw-r--r-- | nix/modules/home/mpd.nix | 25 |
1 files changed, 13 insertions, 12 deletions
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 "<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" } ''; }; |
