From 23b0daf2f39b652aafec1f7277fdcec78e563b6d Mon Sep 17 00:00:00 2001 From: cswimr Date: Sat, 16 Nov 2024 18:32:03 -0500 Subject: [PATCH] disable x11 --- nixos/configuration.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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