From cc0bf224df03dfeef1284b9f8f0a0387f2a29e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Bourdeauducq?= Date: Sun, 2 Jun 2024 13:50:24 +0800 Subject: [PATCH] nixbld: install mpd --- nixbld-etc-nixos/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 57d2aeb4..11d2943c 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 = [