I’d like to figure out if it is reasonable to set up a LDAP server, and have other services use it (including potentially login). I’d also like to be able to add users to this LDAP server via a program or API without having a manual process per user. Is this a resonable thing to do in NixOS?
I’ve looked around at the NixOS wiki, and tried cribbing from other’s files, and find that the most common error is that the extraConfig string is not supported. The release notes point to importing an existing ldap config into settings somehow, but fail to quote what they are doing, or why. Since I have no existing database or setup, this seems less than useful.
I’m an LDAP noob, and only mildly competent in NixOS, despite being willing and able to bang out code to get things done. Therefore, it seems very reasonable that the answer is ‘we have no such config, this is too complicated’. If that’s the answer, that would save me a trip down a rabbit hole with no carrot.