feat: auto-login user

This commit is contained in:
Michael Mandl 2024-07-12 21:36:23 +02:00
parent 497d37c36a
commit c6506d0354
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

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 default_session = initial_session;
'';
}; };
}; };
environment.etc."greetd/environments".text = ''
sway
'';
} }