filetypes: firefox default browser

This commit is contained in:
Zynh Ludwig 2024-10-16 17:33:24 -07:00
parent 431992eff7
commit 5175e934a7

View file

@ -8,7 +8,7 @@ in {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
xdg.mimeApps = xdg.mimeApps =
let let
browser = "brave-browser.desktop"; browser = "firefox.desktop";
mimeAppsFor = mimeAppsFor =
value: list: value: list:
@ -28,10 +28,13 @@ in {
"application/xhtml+xml" "application/xhtml+xml"
"text/html" "text/html"
"x-scheme-handler/about" "x-scheme-handler/about"
"x-scheme-handler/chrome"
"x-scheme-handler/http" "x-scheme-handler/http"
"x-scheme-handler/https" "x-scheme-handler/https"
]) ])
(mimeAppsFor "brave-browser.desktop" [
"x-scheme-handler/chrome"
])
]; ];
}; };