mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 22:51:54 -05:00
17 lines
316 B
Nix
17 lines
316 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.home.services.mpd.enable {
|
|
services.mpd = {
|
|
enable = true;
|
|
musicDirectory = config.ar.home.services.mpd.musicDirectory;
|
|
};
|
|
services.mpd-mpris = {
|
|
enable = true;
|
|
mpd.port = config.services.mpd.network.port;
|
|
};
|
|
};
|
|
}
|