···
sandbox = pkgs.chromium.sandbox;
10
-
options.security.chromiumSuidSandbox.enable = mkEnableOption ''
11
-
Whether to install the Chromium SUID sandbox which is an executable that
12
-
Chromium may use in order to achieve sandboxing.
10
+
options.security.chromiumSuidSandbox.enable = mkOption {
14
+
Whether to install the Chromium SUID sandbox which is an executable that
15
+
Chromium may use in order to achieve sandboxing.
14
-
If you get the error "The SUID sandbox helper binary was found, but is not
15
-
configured correctly.", turning this on might help.
17
+
If you get the error "The SUID sandbox helper binary was found, but is not
18
+
configured correctly.", turning this on might help.
17
-
Also, if the URL chrome://sandbox tells you that "You are not adequately
18
-
sandboxed!", turning this on might resolve the issue.
20
+
Also, if the URL chrome://sandbox tells you that "You are not adequately
21
+
sandboxed!", turning this on might resolve the issue.
20
-
Finally, if you have <option>security.grsecurity</option> enabled and you
21
-
use Chromium, you probably need this.
23
+
Finally, if you have <option>security.grsecurity</option> enabled and you
24
+
use Chromium, you probably need this.
config = mkIf cfg.enable {
environment.systemPackages = [ sandbox ];