about summary refs log tree commit diff
path: root/modules/nixos
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-03-21 01:21:24 +0300
committerAzat Bahawi <azat@bahawi.net>2023-03-21 01:21:24 +0300
commit6f8d6d19b3fdf39d4f9aa418aab7a981071106f7 (patch)
tree1137ca463f067ef84cd184224db01336bd61f030 /modules/nixos
parent2023-03-20 (diff)
2023-03-21
Diffstat (limited to 'modules/nixos')
-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