[desktop] Set Librewolf as the default browser.
This commit is contained in:
@@ -83,4 +83,16 @@
|
||||
platformTheme.name = "adwaita";
|
||||
style.name = "adwaita-dark";
|
||||
};
|
||||
|
||||
# Default apps
|
||||
xdg.mime.enable = true;
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"text/html" = [ "librewolf.desktop" ];
|
||||
"default-web-browser" = [ "librewolf.desktop" ];
|
||||
"x-scheme-handler/http" = [ "librewolf.desktop" ];
|
||||
"x-scheme-handler/https" = [ "librewolf.desktop" ];
|
||||
"x-scheme-handler/about" = [ "librewolf.desktop" ];
|
||||
"x-scheme-handler/unknown" = [ "librewolf.desktop" ];
|
||||
};
|
||||
environment.sessionVariables.DEFAULT_BROWSER = "${pkgs.librewolf}/bin/librewolf";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user