fix(browsers): set firefox as default, specify wayland
This commit is contained in:
parent
5f7146cb2d
commit
86adfe9b83
2 changed files with 7 additions and 1 deletions
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue