about summary refs log tree commit diff
path: root/modules/nixos/kde.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/nixos/kde.nix29
1 files changed, 12 insertions, 17 deletions
diff --git a/modules/nixos/kde.nix b/modules/nixos/kde.nix
index a430294..17fcf03 100644
--- a/modules/nixos/kde.nix
+++ b/modules/nixos/kde.nix
@@ -26,24 +26,19 @@ in {
     };
 
     services.xserver = {
-      desktopManager.plasma5 = {
-        enable = true;
-        excludePackages = with pkgs.plasma5Packages; [
-          elisa
-          gwenview
-          khelpcenter
-          okular
-          print-manager
-        ];
-      };
-      displayManager = {
-        sddm.enable = true;
-
-        # NOTE https://github.com/NixOS/nixpkgs/pull/199881
-        setupCommands = lib.mkForce "";
-      };
+      desktopManager.plasma5.enable = true;
+      displayManager.sddm.enable = true;
     };
 
-    environment.systemPackages = with pkgs; [pinentry-qt];
+    environment = {
+      systemPackages = with pkgs; [pinentry-qt];
+      plasma5.excludePackages = with pkgs.plasma5Packages; [
+        elisa
+        gwenview
+        khelpcenter
+        okular
+        print-manager
+      ];
+    };
   };
 }

Consider giving Nix/NixOS a try! <3