···77 sandbox = pkgs.chromium.sandbox;
88in
99{
1010- options.security.chromiumSuidSandbox.enable = mkEnableOption ''
1111- Whether to install the Chromium SUID sandbox which is an executable that
1212- Chromium may use in order to achieve sandboxing.
1010+ options.security.chromiumSuidSandbox.enable = mkOption {
1111+ type = types.bool;
1212+ default = false;
1313+ description = ''
1414+ Whether to install the Chromium SUID sandbox which is an executable that
1515+ Chromium may use in order to achieve sandboxing.
13161414- If you get the error "The SUID sandbox helper binary was found, but is not
1515- configured correctly.", turning this on might help.
1717+ If you get the error "The SUID sandbox helper binary was found, but is not
1818+ configured correctly.", turning this on might help.
16191717- Also, if the URL chrome://sandbox tells you that "You are not adequately
1818- sandboxed!", turning this on might resolve the issue.
2020+ Also, if the URL chrome://sandbox tells you that "You are not adequately
2121+ sandboxed!", turning this on might resolve the issue.
19222020- Finally, if you have <option>security.grsecurity</option> enabled and you
2121- use Chromium, you probably need this.
2222- '';
2323+ Finally, if you have <option>security.grsecurity</option> enabled and you
2424+ use Chromium, you probably need this.
2525+ '';
2626+ };
23272428 config = mkIf cfg.enable {
2529 environment.systemPackages = [ sandbox ];