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