refactor: move mime-apps for all architectures

This commit is contained in:
Youwen Wu 2024-11-08 20:57:45 -08:00
parent e325a7be3e
commit ae7223b213
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 11 additions and 11 deletions

View file

@ -23,17 +23,6 @@ in
++ [ zen-browser ]
);
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = [ "zen.desktop" ];
"x-scheme-handler/http" = [ "zen.desktop" ];
"x-scheme-handler/https" = [ "zen.desktop" ];
"x-scheme-handler/about" = [ "zen.desktop" ];
"x-scheme-handler/unknown" = [ "zen.desktop" ];
};
};
home.sessionVariables = {
DEFAULT_BROWSER = "${zen-browser}/bin/zen";
};

View file

@ -33,6 +33,17 @@
};
};
xdg.mimeApps = {
enable = true;
defaultApplications = {
"text/html" = [ "zen.desktop" ];
"x-scheme-handler/http" = [ "zen.desktop" ];
"x-scheme-handler/https" = [ "zen.desktop" ];
"x-scheme-handler/about" = [ "zen.desktop" ];
"x-scheme-handler/unknown" = [ "zen.desktop" ];
};
};
# programs.firefox = {
# enable = true;
# # package = pkgs.librewolf;