seperated out some options into generic graphical config.
This commit is contained in:
parent
d3e13cf0f0
commit
084e4ca421
3 changed files with 38 additions and 8 deletions
23
configs/nixos/keyd.nix
Normal file
23
configs/nixos/keyd.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue