mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 09:43:50 -08:00
refactor: move mime-apps for all architectures
This commit is contained in:
parent
e325a7be3e
commit
ae7223b213
2 changed files with 11 additions and 11 deletions
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue