about summary refs log tree commit diff
path: root/modules/nixos/kde.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/kde.nix')
-rw-r--r--modules/nixos/kde.nix26
1 files changed, 13 insertions, 13 deletions
diff --git a/modules/nixos/kde.nix b/modules/nixos/kde.nix
index 3822415..0bdf6f9 100644
--- a/modules/nixos/kde.nix
+++ b/modules/nixos/kde.nix
@@ -13,7 +13,7 @@ in {
     nixfiles.modules = {
       common.xdg.defaultApplications."org.kde.dolphin" = ["inode/directory"];
 
-      gnupg.pinentry = "qt";
+      gnupg.pinentry = pkgs.pinentry-qt;
       sound.enable = true;
     };
 
@@ -43,20 +43,20 @@ in {
       };
     };
 
-    services.xserver = {
+    services = {
       desktopManager.plasma6.enable = true;
-      displayManager.sddm.enable = true;
+      xserver.displayManager.sddm = {
+        enable = true;
+        wayland.enable = true;
+      };
     };
 
-    environment = {
-      systemPackages = with pkgs; [pinentry-qt];
-      plasma6.excludePackages = with pkgs.kdePackages; [
-        elisa
-        gwenview
-        kate
-        khelpcenter
-        print-manager
-      ];
-    };
+    environment.plasma6.excludePackages = with pkgs.kdePackages; [
+      elisa
+      gwenview
+      kate
+      khelpcenter
+      print-manager
+    ];
   };
 }

Consider giving Nix/NixOS a try! <3