Replace lightdm with greetd
This commit is contained in:
parent
58f36e85e7
commit
f78b6303b9
|
@ -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