Build and activate the new configuration, but don't make a boot entry (for testing purposes)

nixos-rebuild

sudo nixos-rebuild test

click the source code to copy