Replace lightdm with greetd
This commit is contained in:
parent
27bbdaecea
commit
0e4ba6611a
|
@ -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