by spindle · 4y ago · 0 comments
Another option is to use named profiles for this:
nixos-rebuild switch --profile-name whatever
The profile names show up in your boot menu.