diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 5b8e1c3..a63472e 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -2,9 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { - nix = { - settings.experimental-features = [ "nix-command" "flakes" ]; - }; + nix = { settings.experimental-features = [ "nix-command" "flakes" ]; }; # Bootloader. boot.loader.systemd-boot.enable = true; @@ -40,10 +38,15 @@ # Enable the X11 windowing system. # You can disable this if you're only using the Wayland session. - services.xserver.enable = true; + services.xserver.enable = false; + + # Enable the SDDM Display Manager and enable its Wayland support. + services.displayManager.sddm = { + enable = true; + wayland.enable = true; + }; # Enable the KDE Plasma Desktop Environment. - services.displayManager.sddm.enable = true; services.desktopManager.plasma6.enable = true; # Configure keymap in X11