nixos-config/user/mpd.nix

28 lines
567 B
Nix
Raw Normal View History

2023-01-22 18:12:04 -03:00
{ pkgs, config, ... }: {
2023-01-18 01:13:47 -03:00
services.mpd = {
enable = true;
musicDirectory = config.home.homeDirectory + "/Música";
extraConfig = ''
restore_paused "yes"
auto_update "yes"
audio_output {
type "pulse"
name "My Pulse Output"
mixer_type "hardware"
}
filesystem_charset "UTF-8"
'';
};
services.mpdris2 = {
enable = true;
multimediaKeys = true;
notifications = true;
};
2023-01-28 15:31:51 -03:00
home.packages = with pkgs; [
musmenu
2023-04-11 14:43:38 -03:00
python3Packages.deemix
dzadd
mpdDup
2023-01-28 15:31:51 -03:00
];
2023-01-18 01:13:47 -03:00
}