wip: switch to librewolf

This commit is contained in:
Ranomier 2025-06-04 22:43:01 +02:00
parent 0b79642f7e
commit af0bb8743e
4 changed files with 48 additions and 11 deletions

View file

@ -1,13 +1,10 @@
{pkgs, ...}: {
{pkgs, ...}: let
package = pkgs.firefox;
in {
# The logical browser of choice
programs.firefox.enable = true;
programs.firefox = {
enable = true;
xdg.mime.defaultApplications = let
browser_desktop_file = "firefox.desktop";
in {
"text/html" = browser_desktop_file;
"x-scheme-handler/http" = browser_desktop_file;
"x-scheme-handler/https" = browser_desktop_file;
package = package;
};
environment.sessionVariables.DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
}