add tuigreet as system greeter

This commit is contained in:
Laureηt 2023-05-09 19:16:30 +02:00
parent d249a016a4
commit 819ddbd4e5
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -89,7 +89,16 @@
services.tlp.enable = true; services.tlp.enable = true;
# programs.regreet = { enable = true; }; # greeter
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
user = "greeter";
};
};
};
# internationalisation # internationalisation
time.timeZone = "Europe/Paris"; time.timeZone = "Europe/Paris";