Hi,
When I set up a systemd-nspawn container via NixOS containers option, I found that the login command always fails with the following error:
> sudo machinectl login <container>
Failed to get login PTY: Unit container-getty@1.service not found
Using shell
command is okay but that’s different from a login shell.
Does anyone have any clues on how to fix this error?