fix(browsers): set firefox as default, specify wayland

This commit is contained in:
winston 2023-03-10 09:31:45 +01:00
parent 5f7146cb2d
commit 86adfe9b83
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 7 additions and 1 deletions

View file

@ -18,7 +18,7 @@ in {
# to still manage it via home-manager # to still manage it via home-manager
package = package =
if isLinux if isLinux
then pkgs.firefox then pkgs.firefox-wayland
else (pkgs.writeScriptBin "__dummy-firefox" ""); else (pkgs.writeScriptBin "__dummy-firefox" "");
profiles.default = { profiles.default = {
search.default = "DuckDuckGo"; search.default = "DuckDuckGo";

View file

@ -45,6 +45,12 @@ in {
defaultApplications = { defaultApplications = {
"inode/directory" = "thunar.desktop"; "inode/directory" = "thunar.desktop";
"application/pdf" = "zathura.desktop"; "application/pdf" = "zathura.desktop";
"text/html" = "firefox.desktop";
"x-scheme-handler/http" = "firefox.desktop";
"x-scheme-handler/https" = "firefox.desktop";
"x-scheme-handler/about" = "firefox.desktop";
"x-scheme-handler/unknown" = "firefox.desktop";
}; };
}; };
}; };