diff options
author | davidak <git@davidak.de> | 2020-05-24 06:09:01 +0200 |
---|---|---|
committer | davidak <git@davidak.de> | 2020-05-24 21:39:44 +0200 |
commit | 297c2651137f2daa78390c2cbd782dbe47b16bc3 (patch) | |
tree | 099366c59e494845d35c430aaf9231739d36daa8 | |
parent | fb1c7bf633dc24f6312cb77385bd8549e12fded8 (diff) | |
download | nixlib-297c2651137f2daa78390c2cbd782dbe47b16bc3.tar nixlib-297c2651137f2daa78390c2cbd782dbe47b16bc3.tar.gz nixlib-297c2651137f2daa78390c2cbd782dbe47b16bc3.tar.bz2 nixlib-297c2651137f2daa78390c2cbd782dbe47b16bc3.tar.lz nixlib-297c2651137f2daa78390c2cbd782dbe47b16bc3.tar.xz nixlib-297c2651137f2daa78390c2cbd782dbe47b16bc3.tar.zst nixlib-297c2651137f2daa78390c2cbd782dbe47b16bc3.zip |
nixos/chromium: add example and update description
-rw-r--r-- | nixos/modules/programs/chromium.nix | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/nixos/modules/programs/chromium.nix b/nixos/modules/programs/chromium.nix index 16c063ebc89d..3f0429136190 100644 --- a/nixos/modules/programs/chromium.nix +++ b/nixos/modules/programs/chromium.nix @@ -69,11 +69,24 @@ in extraOpts = mkOption { type = types.attrs; description = '' - Extra chromium policy options, see - <link xlink:href="https://www.chromium.org/administrators/policy-list-3">https://www.chromium.org/administrators/policy-list-3</link> - for a list of avalible options + Extra chromium policy options. A list of available policies + can be found in the Chrome Enterprise documentation: + <link xlink:href="https://cloud.google.com/docs/chrome-enterprise/policies/">https://cloud.google.com/docs/chrome-enterprise/policies/</link> + Make sure the selected policy is supported on Linux and your browser version. ''; default = {}; + example = literalExample '' + { + "BrowserSignin" = 0; + "SyncDisabled" = true; + "PasswordManagerEnabled" = false; + "SpellcheckEnabled" = true; + "SpellcheckLanguage" = [ + "de" + "en-US" + ]; + } + ''; }; }; }; |