add option to disable keyd

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-17 23:39:03 -06:00
parent 827ba897ba
commit a4136e2e58

View file

@ -39,6 +39,8 @@ in
description = "Enable SDDM Wayland and Plasma Wayland session.";
};
disableKeyd = lib.mkEnableOption "Disable keyd service for Plasma";
appearance.dark.enable = mkOption {
type = types.bool;
default = true;
@ -156,7 +158,7 @@ in
services.xserver.xkb = {
layout = "us";
};
services.keyd = {
services.keyd = mkIf (!cfg.disableKeyd) {
enable = true;
keyboards.default.settings = {
main = {