diff --git a/config.nix b/config.nix index 054e729..e1dbc7b 100644 --- a/config.nix +++ b/config.nix @@ -18,11 +18,6 @@ in programs.vim.enable = true; programs.vim.defaultEditor = true; - services = { - xserver = { - xkb.layout = "de"; - }; - }; console = { enable = true; useXkbConfig = true; @@ -145,14 +140,16 @@ in }; }; xserver = { + xkb.layout = "de"; displayManager = { + defaultSession = "sway"; autoLogin = { enable = true; - autoLogin.user = "c3terminal"; + user = "c3terminal"; }; lightdm = { greeter.enable = false; - lightdm.enable = true; + enable = true; }; }; };