In order for agreety to work correctly, disable the agetty service for the tty set in /etc/greetd/config.toml.