added more to music.nix

this is difficult, trying to use rmpc with mopidy-mpd
This commit is contained in:
Gabriella Bere 2025-05-24 10:32:58 +01:00
parent 047e87eb37
commit e2774adca2

View file

@ -1,9 +1,39 @@
{ pkgs, ... }: {
services.mopidy = {
enable = true;
extensionPackages = [ pkgs.mopidy-jellyfin ];
}
extensionPackages = with pkgs; [
mopidy-jellyfin
mopidy-mpd
];
settings = {
jellyfin = {
hostname = "bigpi.home.arpa";
user_id = "blue";
token = "auth_token_goes_here";
};
mpd.enabled = true;
};
};
programs.rmpc = {
enable = true;
config =
''
(
address: "127.0.0.1:6600",
password: None,
theme: None,
cache_dir: None,
on_song_change: None,
volume_step: 5,
max_fps: 30,
scrolloff: 0,
wrap_navigation: false,
enable_mouse: true,
enable_config_hot_reload: true,
status_update_interval_ms: 1000,
select_current_song_on_change: true,
browser_song_sort: [Disc, Track, Artist, Title],
)
'';
};
}