nixcfg/homeManagerModules/services/mpd/default.nix

18 lines
324 B
Nix
Raw Normal View History

2024-04-14 14:06:38 -04:00
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.ar.home.services.mpd.enable {
2024-04-14 14:06:38 -04:00
services.mpd = {
enable = true;
musicDirectory = config.ar.home.services.mpd.musicDirectory;
2024-04-14 14:06:38 -04:00
};
services.mpd-mpris = {
enable = true;
mpd.port = config.services.mpd.network.port;
};
};
}