Replace lightdm with greetd

This commit is contained in:
coolneng 2022-10-19 13:58:35 +02:00
parent 58f36e85e7
commit f78b6303b9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 8 additions and 10 deletions

View File

@ -14,16 +14,14 @@ let
in { in {
# Display manager # Display manager
services.xserver.enable = true; services.greetd = {
services.xserver.displayManager = {
defaultSession = "sway";
autoLogin = {
enable = true; enable = true;
settings = rec {
initial_session = {
command = "${sway}/bin/sway";
user = "coolneng"; user = "coolneng";
}; };
lightdm = { default_session = initial_session;
enable = true;
greeter.enable = false;
}; };
}; };