mime-apps: Add default browser

This commit is contained in:
Donovan Glover 2023-06-11 09:25:36 -04:00
parent 04e0c8d038
commit 09f2ce62de
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,4 +1,6 @@
{ let
VARIABLES = import ../../src/variables.nix;
in {
home-manager.sharedModules = [ home-manager.sharedModules = [
{ {
xdg.mimeApps = { xdg.mimeApps = {
@ -9,6 +11,8 @@
"image/gif" = "org.qutebrowser.qutebrowser.desktop"; "image/gif" = "org.qutebrowser.qutebrowser.desktop";
"application/x-wine-extension-osz" = "osu-stable.desktop"; "application/x-wine-extension-osz" = "osu-stable.desktop";
"application/x-vmware-vm" = "vmware-workstation.desktop"; "application/x-vmware-vm" = "vmware-workstation.desktop";
"x-scheme-handler/http" = "${VARIABLES.defaultBrowser}.desktop";
"x-scheme-handler/https" = "${VARIABLES.defaultBrowser}.desktop";
}; };
}; };
} }