diff --git a/modules/security/sudo.nix b/modules/security/sudo.nix index 62a061a268f5..e911a257bbfe 100644 --- a/modules/security/sudo.nix +++ b/modules/security/sudo.nix @@ -30,8 +30,7 @@ in # configuration will fail to build. default = '' - # WARNING: do not edit this file directly or with "visudo". Instead, - # edit the source file in /etc/nixos/nixos/etc/sudoers. + # Don't edit this file. Set nixos option security.sudo.configFile instead # "root" is allowed to do anything. root ALL=(ALL) SETENV: ALL