git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #88744 from davidak/chromium-example
29062ceLassulus
nixos/modules/programs/chromium.nix+16−3
@@ -69,11 +69,24 @@ in
69 extraOpts = mkOption {
69 extraOpts = mkOption {
70 type = types.attrs;
70 type = types.attrs;
71 description = ''
71 description = ''
72− Extra chromium policy options, see
72+ Extra chromium policy options. A list of available policies
73− <link xlink:href="https://www.chromium.org/administrators/policy-list-3">https://www.chromium.org/administrators/policy-list-3</link>
73+ can be found in the Chrome Enterprise documentation:
74− for a list of avalible options
74+ <link xlink:href="https://cloud.google.com/docs/chrome-enterprise/policies/">https://cloud.google.com/docs/chrome-enterprise/policies/</link>
75+ Make sure the selected policy is supported on Linux and your browser version.
75 '';
76 '';
76 default = {};
77 default = {};
78+ example = literalExample ''
79+ {
80+ "BrowserSignin" = 0;
81+ "SyncDisabled" = true;
82+ "PasswordManagerEnabled" = false;
83+ "SpellcheckEnabled" = true;
84+ "SpellcheckLanguage" = [
85+ "de"
86+ "en-US"
87+ ];
88+ }
89+ '';
77 };
90 };
78 };
91 };
79 };
92 };