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.";
|
description = "Enable SDDM Wayland and Plasma Wayland session.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
disableKeyd = lib.mkEnableOption "Disable keyd service for Plasma";
|
||||||
|
|
||||||
appearance.dark.enable = mkOption {
|
appearance.dark.enable = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = true;
|
||||||
|
|
@ -156,7 +158,7 @@ in
|
||||||
services.xserver.xkb = {
|
services.xserver.xkb = {
|
||||||
layout = "us";
|
layout = "us";
|
||||||
};
|
};
|
||||||
services.keyd = {
|
services.keyd = mkIf (!cfg.disableKeyd) {
|
||||||
enable = true;
|
enable = true;
|
||||||
keyboards.default.settings = {
|
keyboards.default.settings = {
|
||||||
main = {
|
main = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue