diff --git a/modules/gui.nix b/modules/gui.nix index 1ebcae7..af7293f 100644 --- a/modules/gui.nix +++ b/modules/gui.nix @@ -14,14 +14,16 @@ let in { # Display manager - services.greetd = { - enable = true; - settings = rec { - initial_session = { - command = "${sway}/bin/sway"; - user = "coolneng"; - }; - default_session = initial_session; + services.xserver.enable = true; + services.xserver.displayManager = { + defaultSession = "sway"; + autoLogin = { + enable = true; + user = "coolneng"; + }; + lightdm = { + enable = true; + greeter.enable = false; }; };