diff --git a/configuration.nix b/configuration.nix index 6e84b8a..6d19f5e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -51,7 +51,7 @@ # Enable the X11 windowing system. services.xserver.enable = true; # Enable the KDE Plasma Desktop Environment. - services.xserver.displayManager.sddm.enable = false; + services.displayManager.sddm.enable = false; services.xserver.desktopManager.plasma5.enable = false; services.greetd.enable = true; programs.regreet.enable = true; @@ -67,8 +67,8 @@ # Configure keymap in X11 services.xserver = { - layout = "us"; - xkbVariant = ""; + xkb.layout = "us"; + xkb.variant = ""; }; # Enable CUPS to print documents. @@ -146,8 +146,8 @@ security.polkit.enable = true; # Enable automatic login for the user. - services.xserver.displayManager.autoLogin.enable = false; - services.xserver.displayManager.autoLogin.user = "insert"; + services.displayManager.autoLogin.enable = false; + services.displayManager.autoLogin.user = "insert"; # Allow unfree packages nixpkgs.config.allowUnfree = true;