wip: switch to librewolf
This commit is contained in:
parent
0b79642f7e
commit
af0bb8743e
4 changed files with 48 additions and 11 deletions
|
@ -1,7 +1,22 @@
|
|||
{
|
||||
{pkgs, ...}: let
|
||||
package = pkgs.librewolf;
|
||||
in {
|
||||
imports = [
|
||||
./brave.nix
|
||||
./firefox.nix
|
||||
#./firefox.nix
|
||||
./librewolf.nix
|
||||
./nyxt.nix
|
||||
];
|
||||
|
||||
environment.sessionVariables.DEFAULT_BROWSER =
|
||||
"${package}/bin/"
|
||||
+ builtins.replaceStrings [".desktop"] [""] package.desktopItem.name;
|
||||
|
||||
xdg.mime.defaultApplications = let
|
||||
browser_desktop_file = package.desktopItem.name;
|
||||
in {
|
||||
"text/html" = browser_desktop_file;
|
||||
"x-scheme-handler/http" = browser_desktop_file;
|
||||
"x-scheme-handler/https" = browser_desktop_file;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue