Replace lightdm with greetd

This commit is contained in:
coolneng 2022-10-19 13:58:35 +02:00
parent 27bbdaecea
commit 0e4ba6611a
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 = { enable = true;
defaultSession = "sway"; settings = rec {
autoLogin = { initial_session = {
enable = true; command = "${sway}/bin/sway";
user = "coolneng"; user = "coolneng";
}; };
lightdm = { default_session = initial_session;
enable = true;
greeter.enable = false;
}; };
}; };