Instead of doing nixos-rebuid boot and rebooting, you can just do a nixos-rebuild switch and not reboot.
Of course, depending on what you're doing it mifht be a good idea to reboot, but if you're just adding a package to your config file, it doesn't matter.