1
0
Fork 0

nixbld: install mpd

This commit is contained in:
Sébastien Bourdeauducq 2024-06-02 13:50:24 +08:00
parent 41aeae7b2d
commit cc0bf224df
1 changed files with 12 additions and 0 deletions

View File

@ -533,6 +533,18 @@ in
''; '';
sound.enable = true; 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 = { users.extraUsers.root = {
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [