Files
nixos-blueprint/modules/nixos/shared/input/home-row-mods.nix
T
unexplrd 14b4bdb585 Split shared host config into dedicated modules
- Add shared modules for boot, hardware, networking, input, and host defaults
- Move host-specific TOML flags to new option namespaces
- Update SSH and service defaults for the new layout
2026-05-11 15:01:36 +03:00

22 lines
456 B
Nix

{
config,
lib,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.unexplrd.input.homeRowMods;
in {
options.unexplrd.input.homeRowMods.enable =
mkEnableOption "home row mods for the internal keyboard";
config = mkIf cfg.enable {
services.kanata.enable = true;
services.kanata.keyboards.internal = {
extraDefCfg = ''
process-unmapped-keys no
'';
configFile = ../kanata/internal.kbd;
};
};
}