{ config, lib, ... }: with lib; let helpers = import ../lib/helpers.nix {inherit lib;}; mapOption = types.oneOf [ types.str (types.submodule { options = { silent = mkOption { type = types.bool; description = "Whether this mapping should be silent. Equivalent to adding to a map."; default = false; }; nowait = mkOption { type = types.bool; description = "Whether to wait for extra input on ambiguous mappings. Equivalent to adding to a map."; default = false; }; script = mkOption { type = types.bool; description = "Equivalent to adding