20 lines
345 B
Nix
20 lines
345 B
Nix
|
{ pkgs, ... }:
|
||
|
let
|
||
|
disable = [
|
||
|
];
|
||
|
in
|
||
|
{
|
||
|
file = (pkgs.formats.ini { }).generate "KeydDisableConfig" (
|
||
|
builtins.listToAttrs (builtins.map (app:
|
||
|
{
|
||
|
name = app;
|
||
|
value = {
|
||
|
"capslock" = "capslock";
|
||
|
"escape" = "escape";
|
||
|
"leftcontrol" = "leftcontrol";
|
||
|
};
|
||
|
}
|
||
|
) disable)
|
||
|
);
|
||
|
}
|