diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-12-15 00:25:02 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-12-15 00:25:02 +0530 |
| commit | 47ad00968174d7721e41df3ef4c5366a0499a427 (patch) | |
| tree | c465da5b676eac0f7f45add8310830053053f75e /modules/tools/chromium/default.nix | |
| parent | 4370f3c2fe973db6c65edf3792e1c261e62751fd (diff) | |
| download | home-manager-config-47ad00968174d7721e41df3ef4c5366a0499a427.tar.gz home-manager-config-47ad00968174d7721e41df3ef4c5366a0499a427.zip | |
Using chromium options in home manager to configure brave
Diffstat (limited to 'modules/tools/chromium/default.nix')
| -rw-r--r-- | modules/tools/chromium/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/tools/chromium/default.nix b/modules/tools/chromium/default.nix new file mode 100644 index 0000000..6b49d56 --- /dev/null +++ b/modules/tools/chromium/default.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ./extensions.nix + ]; + + options.tools.chromium = { + enable = lib.mkEnableOption "Enables chromium (with brave)."; + }; + + config = lib.mkIf config.tools.chromium.enable { + programs.chromium = { + enable = true; + package = pkgs.brave; + commandLineArgs = [ + "--force-device-scale-factor=1.2" + ]; + }; + }; +} |
