forked from M-Labs/it-infra
nixbld: install mpd
This commit is contained in:
parent
41aeae7b2d
commit
cc0bf224df
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user