1
0
forked from extern/nix-config
donovanglover-nix-config/modules/mime-apps/default.nix
2023-06-11 09:55:44 -04:00

19 lines
633 B
Nix

let VARIABLES = import ../../src/variables.nix; in {
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";
"x-scheme-handler/http" = "${VARIABLES.defaultBrowser}.desktop";
"x-scheme-handler/https" = "${VARIABLES.defaultBrowser}.desktop";
};
};
}
];
}