seperated out some options into generic graphical config.

This commit is contained in:
Gabe Venberg 2025-10-18 18:13:15 +02:00
parent d3e13cf0f0
commit 084e4ca421
3 changed files with 38 additions and 8 deletions

23
configs/nixos/keyd.nix Normal file
View file

@ -0,0 +1,23 @@
{
config,
pkgs,
lib,
...
}: {
services.keyd = {
enable = true;
keyboards.default = {
ids = ["*"];
settings = {
capslock = "overload(control, esc)";
};
};
};
environment.etc."libinput/local-overrides.quirks".text = ''
[Serial Keyboards]
MatchUdevType=keyboard
MatchName=keyd*keyboard
AttrKeyboardIntegration=internal
'';
}