{ pkgs, config, ... }: { environment.systemPackages = with pkgs; [ cmus playerctl jamesdsp yt-dlp picard # audio metadata ncmpc mpd ]; home-manager.users.grape = { services.mpd-mpris = { enable = false; mpd = { useLocal = true; }; }; # running it via home manager, as by default it has no permission to access my audio drivers services.mpd = { enable = false; musicDirectory = "/home/grape/Music"; playlistDirectory = "/home/grape/Music/playlists"; network = { port = 6600; listenAddress = "127.0.0.1"; }; }; }; }