summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs/chromium.nix
diff options
context:
space:
mode:
authorYisrael Dov Lebow <lebow@lebowtech.com>2021-07-05 11:48:50 +0300
committerGitHub <noreply@github.com>2021-07-05 11:48:50 +0300
commit8dda9e74d50bdda66607587b0cf077767ebbb20f (patch)
treece493a0404543e272e03dfcb93f847cb1dffccf8 /nixos/modules/programs/chromium.nix
parent20887e4bbfdae3aed6bfa1f53ddf138ee325515e (diff)
programs.chromium fix policies for brave
Diffstat (limited to 'nixos/modules/programs/chromium.nix')
-rw-r--r--nixos/modules/programs/chromium.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/programs/chromium.nix b/nixos/modules/programs/chromium.nix
index b727f850a949..bbb4e2533d42 100644
--- a/nixos/modules/programs/chromium.nix
+++ b/nixos/modules/programs/chromium.nix
@@ -100,5 +100,9 @@ in
# for google-chrome https://www.chromium.org/administrators/linux-quick-start
environment.etc."opt/chrome/policies/managed/default.json".text = builtins.toJSON defaultProfile;
environment.etc."opt/chrome/policies/managed/extra.json".text = builtins.toJSON cfg.extraOpts;
+ # for brave
+ environment.etc."brave/policies/managed/default.json".text = builtins.toJSON defaultProfile;
+ environment.etc."brave/policies/managed/extra.json".text = builtins.toJSON cfg.extraOpts;
+
};
}