27 lines
456 B
Nix
27 lines
456 B
Nix
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
home.packages = with pkgs; [
|
||
|
steam minecraft
|
||
|
];
|
||
|
|
||
|
services.mpd = {
|
||
|
enable = true;
|
||
|
musicDirectory = ~/Music/Best;
|
||
|
network.listenAddress = "any";
|
||
|
extraConfig = ''
|
||
|
audio_output {
|
||
|
type "pulse"
|
||
|
name "Shared output (pulseaudio)"
|
||
|
}
|
||
|
|
||
|
audio_output {
|
||
|
type "jack"
|
||
|
name "Jack output"
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
programs.ncmpcpp.enable = true;
|
||
|
services.mpdris2.enable = true;
|
||
|
}
|