Greetd
greetd is a minimal login manager.
Usage
In this minimal example, the Wayland compository Sway automatically gets executed by the user myuser
after successfull boot:
/etc/nixos/configuration.nix
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "${pkgs.sway}/bin/sway";
user = "myuser";
};
default_session = initial_session;
};
};