chromium-suid-sandbox module: fix description

This commit is contained in:
Nikolay Amiantov 2016-08-08 01:55:11 +03:00
parent 43da8b14a0
commit b2413e48ae

View File

@ -7,7 +7,10 @@ let
sandbox = pkgs.chromium.sandbox;
in
{
options.security.chromiumSuidSandbox.enable = mkEnableOption ''
options.security.chromiumSuidSandbox.enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to install the Chromium SUID sandbox which is an executable that
Chromium may use in order to achieve sandboxing.
@ -20,6 +23,7 @@ in
Finally, if you have <option>security.grsecurity</option> enabled and you
use Chromium, you probably need this.
'';
};
config = mkIf cfg.enable {
environment.systemPackages = [ sandbox ];