Switch video player

This commit is contained in:
Nathan McCarty 2023-06-02 15:14:58 -04:00
parent 706efabefa
commit 4dd8b285aa
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 9 additions and 2 deletions

View File

@ -17,8 +17,7 @@ in {
# General Packages # General Packages
home.packages = with pkgs; [ home.packages = with pkgs; [
spotify spotify
unstable.vlc unstable.haruna
unstable.plex-media-player
unstable.jellyfin-media-player unstable.jellyfin-media-player
unstable.obs-studio unstable.obs-studio
nicotine-plus nicotine-plus
@ -27,6 +26,14 @@ in {
mpc-cli mpc-cli
calibre calibre
]; ];
# Register haruna as the default video player
xdg.mimeApps.defaultApplications = {
"video/mp4" = [ "haruna.desktop" ];
"video/avi" = [ "haruna.desktop" ];
"video/AV1" = [ "haruna.desktop" ];
"video/H264" = [ "haruna.desktop" ];
"video/H265" = [ "haruna.desktop" ];
};
# Mopidy service # Mopidy service
# TODO: Add scrobbling # TODO: Add scrobbling
services.mopidy = { services.mopidy = {