feat: zen as default browser
This commit is contained in:
19
home/apps.nix
Normal file
19
home/apps.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
xdg.mimeApps.enable = true;
|
||||
xdg.mimeApps.defaultApplications = let
|
||||
browser = "zen.desktop";
|
||||
in {
|
||||
"text/html" = browser;
|
||||
"x-scheme-handler/http" = browser;
|
||||
"x-scheme-handler/https" = browser;
|
||||
"x-scheme-handler/about" = browser;
|
||||
"x-scheme-handler/unknown" = browser;
|
||||
};
|
||||
|
||||
programs.zen-browser.enable = true;
|
||||
}
|
||||
@@ -6,12 +6,11 @@
|
||||
self.homeManagerModules.devenv
|
||||
self.homeManagerModules.zen-browser
|
||||
|
||||
./apps.nix
|
||||
./desktop.nix
|
||||
./keymaps.nix
|
||||
];
|
||||
|
||||
programs.zen-browser.enable = true;
|
||||
|
||||
# The *state version* indicates which default
|
||||
# settings are in effect and will therefore help avoid breaking
|
||||
# program configurations. Switching to a higher state version
|
||||
|
||||
Reference in New Issue
Block a user