{ pkgs, ... }: let apps = [ "gimp" "gimp-*" "steam-proton" ]; keys = [ "escape" "leftcontrol" ]; in { file = (pkgs.formats.ini { }).generate "KeydDisableConfig" ( builtins.listToAttrs ( builtins.map (app: { name = app; value = builtins.listToAttrs ( builtins.map (key: { name = key; value = key; }) keys ); }) apps ) ); }