I’m running NixOS with systemd and Niri (Wayland compositor). Right now I have to login on the text console and run niri-session (source) to get a graphical session.
Of course I could install lightdm and configure auto-login. But what is the point for a display-manager when I’m the only user of the machine and don’t run any other session? The machine is sufficiently protected by the disk encryption password.
What would be the cleanest way to automatically boot into niri without a display manager?