2024-10-14 18:06:47 +03:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
2024-10-15 03:08:33 +03:00
|
|
|
apps = [
|
2024-10-22 05:35:54 +03:00
|
|
|
"gimp"
|
|
|
|
"gimp-*"
|
2024-10-15 03:08:33 +03:00
|
|
|
"steam-proton"
|
|
|
|
];
|
|
|
|
|
|
|
|
keys = [
|
|
|
|
"escape"
|
|
|
|
"leftcontrol"
|
2024-10-14 18:06:47 +03:00
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
file = (pkgs.formats.ini { }).generate "KeydDisableConfig" (
|
2024-10-15 03:08:33 +03:00
|
|
|
builtins.listToAttrs (
|
|
|
|
builtins.map (app: {
|
2024-10-14 18:06:47 +03:00
|
|
|
name = app;
|
2024-10-15 03:08:33 +03:00
|
|
|
value = builtins.listToAttrs (
|
|
|
|
builtins.map (key: {
|
|
|
|
name = key;
|
|
|
|
value = key;
|
|
|
|
}) keys
|
|
|
|
);
|
|
|
|
}) apps
|
|
|
|
)
|
2024-10-14 18:06:47 +03:00
|
|
|
);
|
|
|
|
}
|