diff options
author | Freya Murphy <freya@freyacat.org> | 2025-08-05 19:49:56 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-08-05 19:49:56 -0400 |
commit | d9a184ba62e94926f7b34089c5c850c4bc1f1ee3 (patch) | |
tree | 69b69f72d3e4d0134349ae2f20dc33b72dafbf60 /modules/browsers/zen.nix | |
parent | update commits (diff) | |
download | dotfiles-nix-d9a184ba62e94926f7b34089c5c850c4bc1f1ee3.tar.gz dotfiles-nix-d9a184ba62e94926f7b34089c5c850c4bc1f1ee3.tar.bz2 dotfiles-nix-d9a184ba62e94926f7b34089c5c850c4bc1f1ee3.zip |
zen browser
Diffstat (limited to '')
-rw-r--r-- | modules/browsers/zen.nix | 34 |
1 files changed, 34 insertions, 0 deletions
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"; + }; + }; + }; + }; + }; +} |