nixos/google-oslogin: Move nsswitch config into the module

Motivation: #86350
This commit is contained in:
Florian Klink
2020-04-30 17:51:13 +02:00
parent 0510d59901
commit 4b71b6f8fa
2 changed files with 2 additions and 4 deletions
@@ -49,6 +49,7 @@ in
# enable the nss module, so user lookups etc. work
system.nssModules = [ package ];
system.nssDatabases.passwd = [ "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.