How can I enter virtual console and sway?

When I try other virtual consoles by ctrl+alt+F1/…/F7 as I normally do in Ubuntu, only ctrl+alt+F4 changes me to a different tty, tty4, and the others don’t seem to make any change. I then can’t switch back to tty1. Is this normal? Why?

No, something is not right, that’s for sure. I can’t say why, though.

After I enable sway, by programs.sway.enable = true , when I start NixOS, it still starts into tty1 first. Do NixOS users usually not boot NixOS into GUI directly? How can I make nixos boot into sway directly?

I’m not a sway user, but I believe the standard way is to log in and run exec sway. If you want to use a login manager there’s a bit of work to to, see Wayland sessions