I am new to NixOS. I have used to configure my home systems using Ansible, and one of the first steps in that is to adjust the /etc/login.defs file, since I want to use what Red Hat calls “user private groups”.
Now I am trying to “port” my ansible setup to use Nix instead.
I can see that there is a shadow.nix file that configures this file originally, but how can I override or adjust what is added to this file?
Thanks for clarifying that it is not possible to override. I need more understanding of Nix language before I can attempt a PR but I will try out the workaround first.