anchor.diff:    ldap = canLoadExternalModules && (config.users.ldap.enable && config.users.ldap.nsswitch);
     sssd = canLoadExternalModules && config.services.sssd.enable;
     resolved = canLoadExternalModules && config.services.resolved.enable;
  +  googleOsLogin = canLoadExternalModules && config.security.googleOsLogin.enable;
   
     hostArray = [ "files" ]
       ++ optional mymachines "mymachines"
  
positive.code: # Configuration for the Name Service Switch (/etc/nsswitch.conf).
  
  { config, lib, ... }:
  
  with lib;
  
  
negative.code:     ++ optional sssd "sss"
      ++ optional ldap "ldap"
      ++ optional mymachines "mymachines"
      ++ optional googleOsLogin "cache_oslogin oslogin"
      ++ [ "systemd" ];
  
    shadowArray = [ "files" ]
  