nixos-config/system/keyboard.nix

16 lines
300 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
{
services.keyd = {
enable = true;
keyboards.default = {
ids = [ "*" ];
settings = {
"main" = {
# Some programs don't respect colemaks capslock bind, so we force it here
"capslock" = "backspace";
};
};
};
};
}