feat: auto-login user

main
mandlm 2024-07-12 21:36:23 +02:00
parent 497d37c36a
commit c6506d0354
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 8 additions and 13 deletions

View File

@ -1,19 +1,14 @@
{ config, pkgs, ... }: { ... }:
{ {
services.greetd = { services.greetd = {
enable = true; enable = true;
settings = { settings = rec {
default_session.command = '' initial_session = {
${pkgs.greetd.tuigreet}/bin/tuigreet \ command = "sway";
--time \ user = "mandlm";
--asterisks \
--user-menu \
--cmd sway
'';
};
}; };
environment.etc."greetd/environments".text = '' default_session = initial_session;
sway };
''; };
} }