nix-dotfiles/home/services/mpd.nix
h7x4 9bc5d2e85d
home: several changes
- add TEXMFHOME variable
- Include mutable_config to ssh config
- add package `kondo`
- mpd uses xdg music userdir
2022-11-11 21:23:25 +01:00

10 lines
176 B
Nix

{ config, ... }:
{
services.mpd = rec {
enable = true;
musicDirectory = config.xdg.userDirs.music;
playlistDirectory = "${musicDirectory}/playlists/MPD";
};
}