some upd
This commit is contained in:
@@ -35,4 +35,31 @@
|
||||
|
||||
imports = [ inputs.zen-browser.homeModules.twilight ];
|
||||
programs.zen-browser = { enable = true; };
|
||||
|
||||
xdg.mimeApps = let
|
||||
value = let
|
||||
system = pkgs.stdenv.hostPlatform.system;
|
||||
zen-browser = inputs.zen-browser.packages.${system}.twilight;
|
||||
in zen-browser.meta.desktopFileName;
|
||||
|
||||
associations = builtins.listToAttrs (map (name: { inherit name value; }) [
|
||||
"application/x-extension-shtml"
|
||||
"application/x-extension-xhtml"
|
||||
"application/x-extension-html"
|
||||
"application/x-extension-xht"
|
||||
"application/x-extension-htm"
|
||||
"x-scheme-handler/unknown"
|
||||
"x-scheme-handler/mailto"
|
||||
"x-scheme-handler/chrome"
|
||||
"x-scheme-handler/about"
|
||||
"x-scheme-handler/https"
|
||||
"x-scheme-handler/http"
|
||||
"application/xhtml+xml"
|
||||
"application/json"
|
||||
"text/html"
|
||||
]);
|
||||
in {
|
||||
associations.added = associations;
|
||||
defaultApplications = associations;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user