move wayland/x11/sddm/plasma6 configuration to gui-pkgs.nix so they aren't installed on server hosts

This commit is contained in:
Seaswimmer 2024-11-22 09:11:21 -05:00
parent 1bae841fc5
commit f777082978
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 13 additions and 13 deletions

View file

@ -45,19 +45,6 @@
LC_TIME = "en_US.UTF-8"; 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 # Configure keymap in X11
services.xserver.xkb = { services.xserver.xkb = {
layout = "us"; layout = "us";

View file

@ -16,6 +16,19 @@ in {
environment.systemPackages = environment.systemPackages =
lib.lists.unique (kdePackages ++ packages ++ flakePackages); 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; programs.partition-manager.enable = true;
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [