add maliit keyboard to sddm

This commit is contained in:
2025-02-03 16:43:57 +00:00
parent 47e153f9a3
commit 12fb7ab7b0

View File

@@ -1,5 +1,15 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
let
compositorCmd = lib.concatStringsSep " " [
"${lib.getBin pkgs.kdePackages.kwin}/bin/kwin_wayland"
"--no-global-shortcuts"
"--no-kactivities"
"--no-lockscreen"
"--locale1"
"--inputmethod ${pkgs.maliit-keyboard}/bin/maliit-keyboard"
];
in
{
services.xserver.enable = true; # optional
@@ -7,8 +17,16 @@
# services.xserver.xkb.layout = "us";
# services.xserver.xkb.options = "eurosign:e,caps:escape";
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
wayland.compositor = "kwin";
settings = {
General = {
CompositorCommand = compositorCmd;
};
};
};
services.desktopManager.plasma6.enable = true;
# Specific fix for cursor in steam