[desktop] Fixes XDG mime types for default browser
This commit is contained in:
@@ -86,8 +86,9 @@
|
||||
};
|
||||
|
||||
# Default apps
|
||||
xdg.mime.enable = true;
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"text/html" = [ "librewolf.desktop" ];
|
||||
"default-web-browser" = [ "librewolf.desktop" ];
|
||||
"x-scheme-handler/http" = [ "librewolf.desktop" ];
|
||||
@@ -95,5 +96,6 @@
|
||||
"x-scheme-handler/about" = [ "librewolf.desktop" ];
|
||||
"x-scheme-handler/unknown" = [ "librewolf.desktop" ];
|
||||
};
|
||||
};
|
||||
home.sessionVariables.DEFAULT_BROWSER = "${pkgs.librewolf}/bin/librewolf";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user