add auto-login module

This commit is contained in:
tristan 2024-02-09 22:09:03 +00:00
parent f839796dc2
commit 1444fd91c8
6 changed files with 28 additions and 44 deletions

View file

@ -0,0 +1,13 @@
command: {config, ...}: let
user = config.user;
in {
services.greetd = {
enable = true;
settings = {
default_session = {
inherit command;
user = user;
};
};
};
}