@adingbatponder
Hey, sorry if nobody else replied to you. This is a legitimate question a lot of new people have about the way configuration.nix/nixos-rebuild works (and I've been bitten by this behaviour more than once).
Essentially, the contents of /etc/nixos are user-managed and not stored anywhere in the nix store as part of a generation (by default). The user is expected to back them up or version control them themselves. This means rolling back doesn't restore them to their previous state as when they were built.
This can be good, because it won't erase your work whenever you switch configurations, but also frustrating if you forgot to backup and have to find the last-good config.
I'd suggest setting the following line in your config:
```nix
environment.etc = { nixos-built-with: { source: ./.; }; };
```
This will create a folder in /etc named nixos-built-with that will be filled with the contents of /etc/nixos at the time that the current generation was built.
Hope this helps in the future.