Merge pull request #42834 from Synthetica9/patch-1

security.sudo.extraRules: documentation fix

Changed files
+1 -1
nixos
modules
security
+1 -1
nixos/modules/security/sudo.nix
···
# Allow execution of "/home/root/secret.sh" by user `backup`, `database`
# and the group with GID `1006` without a password.
-
{ users = [ "backup" ]; groups = [ 1006 ];
+
{ users = [ "backup" "database" ]; groups = [ 1006 ];
commands = [ { command = "/home/root/secret.sh"; options = [ "SETENV" "NOPASSWD" ]; } ]; }
# Allow all users of group `bar` to run two executables as user `foo`