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
|
||||
package =
|
||||
if isLinux
|
||||
then pkgs.firefox
|
||||
then pkgs.firefox-wayland
|
||||
else (pkgs.writeScriptBin "__dummy-firefox" "");
|
||||
profiles.default = {
|
||||
search.default = "DuckDuckGo";
|
||||
|
|
|
@ -45,6 +45,12 @@ in {
|
|||
defaultApplications = {
|
||||
"inode/directory" = "thunar.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