Add maliit-keyboard as input method

This commit is contained in:
Manuel Thalmann 2024-06-12 03:10:56 +02:00
parent 1d70881e11
commit 31d4f391d2

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { { config, lib, options, pkgs, ... }: {
config = { config = {
services.displayManager.sddm = lib.mkIf config.services.displayManager.sddm.wayland.enable { services.displayManager.sddm = lib.mkIf config.services.displayManager.sddm.wayland.enable {
settings.General.GreeterEnvironment = ( settings.General.GreeterEnvironment = (
@ -14,6 +14,12 @@
"QT_WAYLAND_SHELL_INTEGRATION=layer-shell"))); "QT_WAYLAND_SHELL_INTEGRATION=layer-shell")));
wayland.compositor = lib.mkIf config.services.displayManager.sddm.wayland.enable "kwin"; 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))
];
}; };
}; };
} }