The network configuration settings specified in the configuration.nix file should, under normal circumstances, function properly without requiring additional modifications.
I don’t think that’s what @geor is asking, they’re asking if there’s a way to declaratively configure individual wifi configurations. I have the same need for my school wifi, and I also wasn’t able to find a specific module for this kind of file, and had to use the environment.etc.<name>.text option as offered as an alternative.