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 {
# Display manager
services.xserver.enable = true;
services.xserver.displayManager = {
defaultSession = "sway";
autoLogin = {
enable = true;
user = "coolneng";
};
lightdm = {
enable = true;
greeter.enable = false;
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "${sway}/bin/sway";
user = "coolneng";
};
default_session = initial_session;
};
};