I have an example of myself looking at what my configuration.nix renders to while debugging a module I was adding to nixpkgs/NixOS.
https://youtu.be/bkDYmvKINm8?t=1949