Learning Resources for Adding Software to Nix

Can somebody recommend a place to learn more about how to add software to nix? E.g. one of the available CLIs on nix has community plugins. I have no idea how I would go about either running the commands as part of the nix setup (which would inherently probably not comply with nixs assumptions of the environment being well defined :D)
Was this page helpful?