Replace lightdm with greetd
This commit is contained in:
parent
27bbdaecea
commit
0e4ba6611a
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue