diff options
author | Leonardo Santiago <[email protected]> | 2025-05-05 23:34:15 -0300 |
---|---|---|
committer | Leonardo Santiago <[email protected]> | 2025-05-05 23:34:15 -0300 |
commit | 0ec583d64fb7640611f5e2d440c75a1b8b86f8f5 (patch) | |
tree | b8b644b9ca3b7261f698fe1fc6efc9c92775c1f0 /modules/home/zen.nix | |
parent | 1bd7f83ce366a3d4addf7487af8c8b019320720f (diff) |
chore(home-manager): improve home-manager structuring
Diffstat (limited to 'modules/home/zen.nix')
-rw-r--r-- | modules/home/zen.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/modules/home/zen.nix b/modules/home/zen.nix new file mode 100644 index 0000000..f7535dc --- /dev/null +++ b/modules/home/zen.nix @@ -0,0 +1,29 @@ +{ config, lib, inputs, ...}: with lib; let + cfg = config.santi-modules; +in { + options.santi-modules.zen-browser = mkEnableOption "Enable zen browser from flake"; + config = mkIf cfg.default-user.enable { + home-manager = { + users.leonardo = { + imports = [ + inputs.zen-browser.homeModules.default + ]; + programs.zen-browser = { + enable = true; + policies = { + AutofillAddressEnabled = true; + AutofillCreditCardEnabled = false; + DisableAppUpdate = true; + DisableFeedbackCommands = true; + DisableFirefoxStudies = true; + DisablePocket = true; # save webs for later reading + DisableTelemetry = true; + DontCheckDefaultBrowser = true; + NoDefaultBookmarks = true; + OfferToSaveLogins = false; + }; + }; + }; + }; + }; +} |