add option to disable keyd
This commit is contained in:
parent
827ba897ba
commit
a4136e2e58
1 changed files with 3 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue