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 = {
enable = true;
settings = {
default_session.command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet \
--time \
--asterisks \
--user-menu \
--cmd sway
'';
settings = rec {
initial_session = {
command = "sway";
user = "mandlm";
};
default_session = initial_session;
};
};
environment.etc."greetd/environments".text = ''
sway
'';
}