diff --git a/home/programs/media/default.nix b/home/programs/media/default.nix index 3e7711b..d9f0312 100644 --- a/home/programs/media/default.nix +++ b/home/programs/media/default.nix @@ -1,8 +1,10 @@ {pkgs, ...}: { + programs.mpv.enable = true; home.packages = [ pkgs.gnome-calculator pkgs.loupe pkgs.spotify pkgs.stremio + pkgs.celluloid ]; } diff --git a/home/programs/xdg.nix b/home/programs/xdg.nix index a0d29ba..2f7630e 100644 --- a/home/programs/xdg.nix +++ b/home/programs/xdg.nix @@ -18,6 +18,16 @@ "image/svg" = [" org.gnome.Loupe.desktop"]; "image/jpeg" = ["org.gnome.Loupe.desktop"]; "image/gif" = [" org.gnome.Loupe.desktop"]; + "video/mp4" = ["io.github.celluloid_player.Celluloid.desktop"]; + "video/avi" = ["io.github.celluloid_player.Celluloid.desktop"]; + "video/mkv" = ["io.github.celluloid_player.Celluloid.desktop"]; + }; + }; + userDirs = { + enable = true; + createDirectories = true; + extraConfig = { + XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots"; }; }; };