diff --git a/modules/default.nix b/modules/default.nix index 2231485c..4063fc49 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -12,6 +12,7 @@ ./joshuto ./kitty ./librewolf + ./mime-apps ./mpv ./ncmpcpp ./neovim diff --git a/modules/mime-apps/default.nix b/modules/mime-apps/default.nix new file mode 100644 index 00000000..8d9a2dc3 --- /dev/null +++ b/modules/mime-apps/default.nix @@ -0,0 +1,16 @@ +{ + home-manager.sharedModules = [ + { + xdg.mimeApps = { + enable = true; + defaultApplications = { + "image/png" = "feh.desktop"; + "image/jpeg" = "feh.desktop"; + "image/gif" = "org.qutebrowser.qutebrowser.desktop"; + "application/x-wine-extension-osz" = "osu-stable.desktop"; + "application/x-vmware-vm" = "vmware-workstation.desktop"; + }; + }; + } + ]; +}