From d9a184ba62e94926f7b34089c5c850c4bc1f1ee3 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 5 Aug 2025 19:49:56 -0400 Subject: zen browser --- modules/browsers/zen.nix | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/browsers/zen.nix (limited to 'modules/browsers/zen.nix') diff --git a/modules/browsers/zen.nix b/modules/browsers/zen.nix new file mode 100644 index 0000000..e57625f --- /dev/null +++ b/modules/browsers/zen.nix @@ -0,0 +1,34 @@ +{ + config, + lib, + inputs, + ... +}: let + inherit (lib) mkIf; + cfg = config.browsers; +in { + config = mkIf cfg.zen { + default.browser = lib.mkDefault "zen"; + + home-manager.users.${config.user} = { + imports = [ + inputs.zen-browser.homeModules.default + ]; + + programs.zen-browser = { + enable = true; + + # import configuration + policies = import ./firefox/policies.nix; + + # create profile for me :3 + profiles.${config.user} = { + search = { + force = true; + default = "ddg"; + }; + }; + }; + }; + }; +} -- cgit v1.2.3-freya