From 4b01d1dcd77f3ccb9a874ed8725da9d0ed0d717e Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 6 Jul 2023 20:20:12 +0900 Subject: [PATCH] Trying KDE --- configuration.nix | 3 ++- desktops/kde.nix | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 desktops/kde.nix diff --git a/configuration.nix b/configuration.nix index 33775ae7..9057b25e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -9,7 +9,8 @@ [ # Desktop Environments ./desktops/common.nix - ./desktops/gnome.nix + ./desktop/kde.nix + # ./desktops/gnome.nix # Services ./services/openssh.nix diff --git a/desktops/kde.nix b/desktops/kde.nix new file mode 100644 index 00000000..46b6fc5c --- /dev/null +++ b/desktops/kde.nix @@ -0,0 +1,10 @@ +{ config, unstable, ... }: { + # Use "unstable" instead of "pkgs" to get the latest packages, defined in "flake.nix" + services.xserver = with unstable.pkgs; { + # https://nixos.org/manual/nixos/stable/index.html#chap-gnome + # Enable the GNOME Desktop Environment. + displayManager.ssdm.enable = true; + desktopManager.kde.enable = true; + displayManager.defaultSession = "plastmawayland"; + }; +}