feat: zen as default browser

This commit is contained in:
Guz
2025-02-06 10:21:50 -03:00
parent 741b6a90fe
commit e715fcb63a
2 changed files with 20 additions and 2 deletions

19
home/apps.nix Normal file
View 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;
}

View File

@@ -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