From d13a65eed69013824b11107416c98c5b0fd47830 Mon Sep 17 00:00:00 2001 From: worble Date: Mon, 3 Feb 2025 23:17:07 +0000 Subject: [PATCH] add maalit to plasma wayland session in sddm --- configuration/kde.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/configuration/kde.nix b/configuration/kde.nix index 9531e64..6ec12dc 100644 --- a/configuration/kde.nix +++ b/configuration/kde.nix @@ -1,5 +1,15 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: +let + kwin = lib.concatStringsSep " " [ + "${lib.getBin pkgs.kdePackages.kwin}/bin/kwin_wayland" + "--no-global-shortcuts" + "--no-kactivities" + "--no-lockscreen" + "--locale1" + "--inputmethod maliit-keyboard" + ]; +in { services.xserver.enable = true; # optional @@ -10,6 +20,11 @@ services.displayManager.sddm = { enable = true; wayland.enable = true; + settings = { + Wayland = { + CompositorCommand = kwin; + }; + }; }; services.desktopManager.plasma6.enable = true;