diff options
author | nicoo <nicoo@mur.at> | 2023-10-22 19:56:54 +0000 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2023-11-05 20:40:12 +0000 |
commit | 9259a8d2792df63129ccbc2a239049b72af06379 (patch) | |
tree | 0b5bc4181df2e1bc0509fc54ac1502c56224b74d /nixos/modules/security | |
parent | a8e6f0a81a99c613512082be3588c62f0aa614c0 (diff) |
nixos/google_oslogin: Handle sudo-rs too
Diffstat (limited to 'nixos/modules/security')
-rw-r--r-- | nixos/modules/security/google_oslogin.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/security/google_oslogin.nix b/nixos/modules/security/google_oslogin.nix index f75b4df1851a5..95975943ff801 100644 --- a/nixos/modules/security/google_oslogin.nix +++ b/nixos/modules/security/google_oslogin.nix @@ -42,6 +42,10 @@ in security.sudo.extraConfig = '' #includedir /run/google-sudoers.d ''; + security.sudo-rs.extraConfig = '' + #includedir /run/google-sudoers.d + ''; + systemd.tmpfiles.rules = [ "d /run/google-sudoers.d 750 root root -" "d /var/google-users.d 750 root root -" |