about summary refs log tree commit diff
path: root/modules/nixos/kde.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-03-17 17:52:16 +0300
committerAzat Bahawi <azat@bahawi.net>2024-03-17 17:52:16 +0300
commitaa5ac7a7a16c3671b71eb5cac2512398a7e5bbe9 (patch)
tree314489d2e340c897eda97370fa22faf0b2a5248a /modules/nixos/kde.nix
parent2024-03-10 (diff)
2024-03-17
Diffstat (limited to '')
-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