diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 57d2aeb..11d2943 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -533,6 +533,18 @@ in ''; sound.enable = true; + services.mpd.enable = true; + services.mpd.musicDirectory = "/tank/sb-public/FLAC"; + services.mpd.network.listenAddress = "192.168.1.1"; + services.mpd.extraConfig = + '' + audio_output_format "192000:24:2" + audio_output { + type "alsa" + name "alsa" + device "hw:1,1" + } + ''; users.extraUsers.root = { openssh.authorizedKeys.keys = [