{ config, lib, ... }: let cfg = config.nomarchy.accessibility; in { config = lib.mkIf cfg.enable { # Hyprland-side accessibility extras. The system preset # (core/system/accessibility.nix) covers AT-SPI2 + Orca on PATH + # XCURSOR_SIZE; this module adds the bits Hyprland reads directly. # # Loaded via extraConfig (mkAfter) so it merges with — and overrides # — the templated input.conf for the repeat-rate / repeat-delay # fields. The Orca keybinding is additive. wayland.windowManager.hyprland.extraConfig = lib.mkAfter '' # Accessibility — slower key-repeat so holding a key isn't a # runaway machine-gun for users with low-mobility hands. input { repeat_rate = 25 repeat_delay = 1000 } # Launch the Orca screen reader. The system preset puts `orca` # on PATH when nomarchy.system.accessibility.enable = true. bindd = SUPER ALT, S, Launch Orca, exec, orca ''; }; }