nixos/google_oslogin: Handle sudo-rs too

This commit is contained in:
nicoo 2023-10-22 19:56:54 +00:00
parent a8e6f0a81a
commit 9259a8d279

View File

@ -42,6 +42,10 @@ in
security.sudo.extraConfig = '' security.sudo.extraConfig = ''
#includedir /run/google-sudoers.d #includedir /run/google-sudoers.d
''; '';
security.sudo-rs.extraConfig = ''
#includedir /run/google-sudoers.d
'';
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /run/google-sudoers.d 750 root root -" "d /run/google-sudoers.d 750 root root -"
"d /var/google-users.d 750 root root -" "d /var/google-users.d 750 root root -"