Replace lightdm with greetd
This commit is contained in:
parent
58f36e85e7
commit
f78b6303b9
|
@ -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;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue