diff --git a/lib/modules/sddm.nix b/lib/modules/sddm.nix index e70f31a..aa17c41 100644 --- a/lib/modules/sddm.nix +++ b/lib/modules/sddm.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: { +{ config, lib, options, pkgs, ... }: { config = { services.displayManager.sddm = lib.mkIf config.services.displayManager.sddm.wayland.enable { settings.General.GreeterEnvironment = ( @@ -14,6 +14,12 @@ "QT_WAYLAND_SHELL_INTEGRATION=layer-shell"))); wayland.compositor = lib.mkIf config.services.displayManager.sddm.wayland.enable "kwin"; + + wayland.compositorCommand = lib.concatStringsSep " " [ + options.services.displayManager.sddm.wayland.compositorCommand.default + "--inputmethod" + (lib.escapeShellArg (lib.getExe pkgs.maliit-keyboard)) + ]; }; }; }