modules: Add mime-apps

This commit is contained in:
Donovan Glover 2023-06-09 16:21:52 -04:00
parent 1ab27e7fe7
commit 7654520135
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 17 additions and 0 deletions

View File

@ -12,6 +12,7 @@
./joshuto ./joshuto
./kitty ./kitty
./librewolf ./librewolf
./mime-apps
./mpv ./mpv
./ncmpcpp ./ncmpcpp
./neovim ./neovim

View File

@ -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";
};
};
}
];
}