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
home.packages = with pkgs; [
spotify
unstable.vlc
unstable.plex-media-player
unstable.haruna
unstable.jellyfin-media-player
unstable.obs-studio
nicotine-plus
@ -27,6 +26,14 @@ in {
mpc-cli
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
# TODO: Add scrobbling
services.mopidy = {