From 9595d7f870adc42682fea682940fb9a43bc15ae1 Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 3 Apr 2026 19:21:27 +0000 Subject: [PATCH 1/2] nixos/buffyboard: document new `keyboard.*` options --- nixos/modules/services/hardware/buffyboard.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/nixos/modules/services/hardware/buffyboard.nix b/nixos/modules/services/hardware/buffyboard.nix index 26b83882c12b..eb6833ec22bd 100644 --- a/nixos/modules/services/hardware/buffyboard.nix +++ b/nixos/modules/services/hardware/buffyboard.nix @@ -68,6 +68,24 @@ in type = types.submodule { freeformType = ini.type; + options.keyboard.haptic_feedback = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Enable or disable vibrations when pressing keys. + ''; + }; + + options.keyboard.sticky_shift = mkOption { + type = types.nullOr types.bool; + default = null; + description = '' + Changes shift key behavior. When true, the keyboard remains in uppercase mode until + the shift key is pressed again (sticky). When false, the keyboard switches back to + lowercase mode and the shift key deactivates after a non-modifier key is pressed. + ''; + }; + options.input.pointer = mkOption { type = types.nullOr types.bool; default = null; From 73176866937a0392273e12a5b429cc52585ba3ad Mon Sep 17 00:00:00 2001 From: Colin Date: Fri, 3 Apr 2026 19:23:28 +0000 Subject: [PATCH 2/2] nixos/buffyboard: fix DE integration docs for 3.5.1 --- nixos/modules/services/hardware/buffyboard.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/hardware/buffyboard.nix b/nixos/modules/services/hardware/buffyboard.nix index eb6833ec22bd..525d5cac2f1f 100644 --- a/nixos/modules/services/hardware/buffyboard.nix +++ b/nixos/modules/services/hardware/buffyboard.nix @@ -10,8 +10,8 @@ # Desktop users are recommended to either: # 1. Stop buffyboard once your DE is started. # e.g. `services.buffyboard.unitConfig.Conflicts = [ "my-de.service" ];` -# 2. Configure your DE to ignore input events from buffyboard (product-id=25209; vendor-id=26214; name=rd) -# e.g. `echo 'input "26214:25209:rd" events disabled' > ~/.config/sway/config` +# 2. Configure your DE to ignore input events from buffyboard (product-id=0; vendor-id=0; name=buffyboard) +# e.g. `echo 'input "0:0:buffyboard" events disabled' > ~/.config/sway/config` { config,