nixos: hint about security.setuidOwners/Programs -> security.wrappers

Let users know about the option rename / change during nixos-rebuild
with a useful message instead of an error (with no way forward).
This commit is contained in:
Bjørn Forsman 2017-02-14 22:58:11 +01:00
parent 34c1b74421
commit b1bfe9d3db

View File

@ -32,6 +32,9 @@ with lib;
(mkRenamedOptionModule [ "services" "clamav" "updater" "config" ] [ "services" "clamav" "updater" "extraConfig" ])
(mkRemovedOptionModule [ "security" "setuidOwners" ] "Use security.wrappers instead")
(mkRemovedOptionModule [ "security" "setuidPrograms" ] "Use security.wrappers instead")
# Old Grub-related options.
(mkRenamedOptionModule [ "boot" "initrd" "extraKernelModules" ] [ "boot" "initrd" "kernelModules" ])
(mkRenamedOptionModule [ "boot" "extraKernelParams" ] [ "boot" "kernelParams" ])