wip: switch to librewolf
This commit is contained in:
parent
0b79642f7e
commit
af0bb8743e
4 changed files with 48 additions and 11 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue