Open URL and html files with Firefox

This commit is contained in:
Yorick Barbanneau 2024-01-19 21:06:12 +01:00
parent f3ecf26c1b
commit f6995d28f1

View file

@ -13,6 +13,13 @@ in
enable = true;
browsers = ["firefox"];
};
xdg.mimeApps.defaultApplications = {
"text/html" = "firefox.desktop";
"x-scheme-handler/http" = "firefox.desktop";
"x-scheme-handler/https" = "firefox.desktop";
"x-scheme-handler/about" = "firefox.desktop";
"x-scheme-handler/unknown" = "firefox.desktop";
};
programs.firefox = {
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
nativeMessagingHosts = [