1
0
forked from extern/nix-config
donovanglover-nix-config/modules/mime-apps/default.nix

19 lines
633 B
Nix
Raw Normal View History

2023-06-11 15:51:26 +02:00
let VARIABLES = import ../../src/variables.nix; in {
2023-06-09 22:21:52 +02:00
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";
2023-06-11 15:25:36 +02:00
"x-scheme-handler/http" = "${VARIABLES.defaultBrowser}.desktop";
"x-scheme-handler/https" = "${VARIABLES.defaultBrowser}.desktop";
2023-06-09 22:21:52 +02:00
};
};
}
];
}