diff --git a/nixos/modules/config/ldap.nix b/nixos/modules/config/ldap.nix index 7fcb1aaf63d..1a01533c585 100644 --- a/nixos/modules/config/ldap.nix +++ b/nixos/modules/config/ldap.nix @@ -217,9 +217,7 @@ in systemd.services = mkIf cfg.daemon.enable { nslcd = { - wantedBy = [ "nss-user-lookup.target" ]; - before = [ "nss-user-lookup.target" ]; - after = [ "network.target" ]; + wantedBy = [ "multi-user.target" ]; preStart = '' mkdir -p /run/nslcd