dotfiles/etc/apps/music.nix

32 lines
647 B
Nix
Raw Normal View History

2024-04-28 11:35:35 +02:00
{ pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
cmus
playerctl
jamesdsp
yt-dlp
#picard # audio metadata
#ncmpc
#mpd
2024-04-28 11:35:35 +02:00
];
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";
};
};
};
2024-04-28 11:35:35 +02:00
}