diff options
author | Florian Klink <flokli@flokli.de> | 2020-05-06 00:02:57 +0200 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-05-11 16:14:50 +0200 |
commit | 22975087831bf4bd86c7f54174796c43946ffcdb (patch) | |
tree | b4872412cfaa34c97481f9c594ac512ca540b89b /nixos/modules | |
parent | ecf327d697f477f903980295a9ba0a00301f9ecc (diff) | |
download | nixlib-22975087831bf4bd86c7f54174796c43946ffcdb.tar nixlib-22975087831bf4bd86c7f54174796c43946ffcdb.tar.gz nixlib-22975087831bf4bd86c7f54174796c43946ffcdb.tar.bz2 nixlib-22975087831bf4bd86c7f54174796c43946ffcdb.tar.lz nixlib-22975087831bf4bd86c7f54174796c43946ffcdb.tar.xz nixlib-22975087831bf4bd86c7f54174796c43946ffcdb.tar.zst nixlib-22975087831bf4bd86c7f54174796c43946ffcdb.zip |
nixos/google-oslogin: add to system.nssDatabases.group too
nixos/modules/config/nsswitch.nix uses `passwdArray` for both `passwd` and `group`, but when moving this into the google-oslogin module in 4b71b6f8fa5f7b06ea5d0dd37d44a73757c7f142, it didn't get split appropriately.
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/security/google_oslogin.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/security/google_oslogin.nix b/nixos/modules/security/google_oslogin.nix index 78c2089baeb9..c2889a0f0d1d 100644 --- a/nixos/modules/security/google_oslogin.nix +++ b/nixos/modules/security/google_oslogin.nix @@ -50,6 +50,7 @@ in # enable the nss module, so user lookups etc. work system.nssModules = [ package ]; system.nssDatabases.passwd = [ "cache_oslogin" "oslogin" ]; + system.nssDatabases.group = [ "cache_oslogin" "oslogin" ]; # Ugly: sshd refuses to start if a store path is given because /nix/store is group-writable. # So indirect by a symlink. |