From f777082978748d2225236840f2f64249170427aa Mon Sep 17 00:00:00 2001 From: cswimr Date: Fri, 22 Nov 2024 09:11:21 -0500 Subject: [PATCH] move wayland/x11/sddm/plasma6 configuration to `gui-pkgs.nix` so they aren't installed on server hosts --- nixos/configuration.nix | 13 ------------- nixos/gui-pkgs.nix | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index a0aa01f..9e65892 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -45,19 +45,6 @@ LC_TIME = "en_US.UTF-8"; }; - # Enable the X11 windowing system. - # You can disable this if you're only using the Wayland session. - 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.desktopManager.plasma6.enable = true; - # Configure keymap in X11 services.xserver.xkb = { layout = "us"; diff --git a/nixos/gui-pkgs.nix b/nixos/gui-pkgs.nix index 8873d88..f57f6b8 100644 --- a/nixos/gui-pkgs.nix +++ b/nixos/gui-pkgs.nix @@ -16,6 +16,19 @@ in { environment.systemPackages = lib.lists.unique (kdePackages ++ packages ++ flakePackages); + # Enable the X11 windowing system. + # You can leave this disabled if you're only using the Wayland session. + 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.desktopManager.plasma6.enable = true; + programs.partition-manager.enable = true; fonts.packages = with pkgs; [