diff --git a/content/rambles/mpd-and-icecast-on-nix.md b/content/rambles/mpd-and-icecast-on-nix.md index 753201d..dbd8711 100644 --- a/content/rambles/mpd-and-icecast-on-nix.md +++ b/content/rambles/mpd-and-icecast-on-nix.md @@ -4,6 +4,7 @@ date: "2022-11-06T22:11:10+01:00" author: "$HUMANOID" tags: ["nix", "linux"] description: "Ramble about setting up MPD + Icecast on NixOS" +draft: True --- # Introduction @@ -57,7 +58,7 @@ The first thing you'll want to do is enable the MPD service: { config, pkgs, ... }: { services.mpd = { enable = true; - ... +... ``` @@ -110,7 +111,6 @@ section. {{< start-details summary="Example PulseAudio configuration I have on my laptop" >}} ```conf -... audio_output { type "pulse" name "Pulse output" @@ -120,7 +120,6 @@ audio_output { replaygain "album" volume_normalization "no" } -... ``` {{< end-details >}} @@ -142,12 +141,24 @@ I have my drives listed in `/etc/nixos/drives.nix` and import that in my # Setting up Icecast2 The next step is to set up Icecast2. Same as with MPD, the first thing you'll -want to do is enable it: +want to do is enable it... ```nix ... services.icecast = { enable = true; +... +``` +... then add at least the necessary lines of configuration... +```nix +... + hostname = "hostname:8000"; + listen.port = 8000; + admin.password = "it gives me a headache that I can't get Nix to read this from a file, I am probably too much of an idiot figure out how this works"; +... +``` + +```nix extraConf = '' Floating around in an example configuration snippet on the internet icemaster@localhost @@ -167,9 +178,6 @@ want to do is enable it: 65535 ''; - hostname = "hostname:8000"; - listen.port = 8000; - admin.password = "it gives me a headache that I can't get Nix to read this from a file"; }; } ``` diff --git a/themes/vugo b/themes/vugo index 5251fa4..78d0d2d 160000 --- a/themes/vugo +++ b/themes/vugo @@ -1 +1 @@ -Subproject commit 5251fa45a81337e7cf0a4d61f373d31d6c1ed1b7 +Subproject commit 78d0d2d803187c7c26f36310e2692c4d7491ef7a