Get rid of extraSetuidPrograms.

Also state in description that it is obsolete.

svn path=/nixos/trunk/; revision=21777
This commit is contained in:
Yury G. Kudryashov 2010-05-14 21:01:06 +00:00
parent 03caab4572
commit 7ae39feedb
3 changed files with 3 additions and 8 deletions

View File

@ -32,13 +32,12 @@ in
'';
};
# !!! obsolete
security.extraSetuidPrograms = mkOption {
default = [];
example = ["fusermount"];
description = ''
This option lists additional programs that must be made setuid
root.
root. Obsolete, use setuidPrograms instead.
'';
};

View File

@ -51,7 +51,7 @@ in
config = mkIf cfg.enable {
security.extraSetuidPrograms = [ "sudo" ];
security.setuidPrograms = [ "sudo" ];
environment.systemPackages = [ sudo ];

View File

@ -52,11 +52,7 @@ mkIf (xcfg.enable && cfg.enable) {
};
};
security = {
extraSetuidPrograms = [
"kcheckpass"
];
};
security.setuidPrograms = [ "kcheckpass" ];
environment = {
kdePackages = [