Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "actkbd", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 9, column: 16, }, end: Position { line: 9, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 9, column: 21, }, end: Position { line: 9, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "actkbd.conf", span: Span { start: Position { line: 9, column: 32, }, end: Position { line: 9, column: 43, }, }, }, ), ], span: Span { start: Position { line: 9, column: 31, }, end: Position { line: 9, column: 44, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 10, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStringsSep", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 26, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 10, column: 28, }, end: Position { line: 10, column: 30, }, }, }, ), ], span: Span { start: Position { line: 10, column: 27, }, end: Position { line: 10, column: 31, }, }, }, ), Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "keys", default: None, }, FunctionHeadDestructuredArgument { identifier: "events", default: None, }, FunctionHeadDestructuredArgument { identifier: "attributes", default: None, }, FunctionHeadDestructuredArgument { identifier: "command", default: None, }, ], }, ), body: IndentedString( IndentedString { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStringsSep", span: Span { start: Position { line: 12, column: 13, }, end: Position { line: 12, column: 32, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "+", span: Span { start: Position { line: 12, column: 34, }, end: Position { line: 12, column: 35, }, }, }, ), ], span: Span { start: Position { line: 12, column: 33, }, end: Position { line: 12, column: 36, }, }, }, ), Identifier( Identifier { id: "toString", span: Span { start: Position { line: 12, column: 37, }, end: Position { line: 12, column: 45, }, }, }, ), Identifier( Identifier { id: "keys", span: Span { start: Position { line: 12, column: 46, }, end: Position { line: 12, column: 50, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 12, column: 11, }, end: Position { line: 12, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 12, column: 54, }, end: Position { line: 12, column: 70, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 12, column: 72, }, end: Position { line: 12, column: 73, }, }, }, ), ], span: Span { start: Position { line: 12, column: 71, }, end: Position { line: 12, column: 74, }, }, }, ), Identifier( Identifier { id: "events", span: Span { start: Position { line: 12, column: 75, }, end: Position { line: 12, column: 81, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 12, column: 11, }, end: Position { line: 12, column: 83, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 12, column: 85, }, end: Position { line: 12, column: 101, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 12, column: 103, }, end: Position { line: 12, column: 104, }, }, }, ), ], span: Span { start: Position { line: 12, column: 102, }, end: Position { line: 12, column: 105, }, }, }, ), Identifier( Identifier { id: "attributes", span: Span { start: Position { line: 12, column: 106, }, end: Position { line: 12, column: 116, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 12, column: 11, }, end: Position { line: 12, column: 118, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "command", span: Span { start: Position { line: 12, column: 120, }, end: Position { line: 12, column: 127, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 130, }, }, }, ), span: Span { start: Position { line: 11, column: 8, }, end: Position { line: 12, column: 130, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bindings", span: Span { start: Position { line: 14, column: 11, }, end: Position { line: 14, column: 19, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 15, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 15, column: 11, }, end: Position { line: 15, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 16, column: 3, }, }, }, ), ], span: Span { start: Position { line: 9, column: 45, }, end: Position { line: 16, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindingCfg", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "keys", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 21, column: 14, }, end: Position { line: 21, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 22, column: 16, }, end: Position { line: 22, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 22, column: 22, }, end: Position { line: 22, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 22, column: 29, }, end: Position { line: 22, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 22, column: 35, }, end: Position { line: 22, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 23, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of keycodes to match.", span: Span { start: Position { line: 23, column: 34, }, end: Position { line: 23, column: 60, }, }, }, ), ], span: Span { start: Position { line: 23, column: 33, }, end: Position { line: 23, column: 61, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 21, column: 23, }, end: Position { line: 24, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "events", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 26, column: 16, }, end: Position { line: 26, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 16, }, end: Position { line: 27, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 30, }, end: Position { line: 27, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 27, column: 36, }, end: Position { line: 27, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 27, column: 43, }, end: Position { line: 27, column: 46, }, }, }, ), ], span: Span { start: Position { line: 27, column: 42, }, end: Position { line: 27, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rep", span: Span { start: Position { line: 27, column: 49, }, end: Position { line: 27, column: 52, }, }, }, ), ], span: Span { start: Position { line: 27, column: 48, }, end: Position { line: 27, column: 53, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rel", span: Span { start: Position { line: 27, column: 55, }, end: Position { line: 27, column: 58, }, }, }, ), ], span: Span { start: Position { line: 27, column: 54, }, end: Position { line: 27, column: 59, }, }, }, ), ], span: Span { start: Position { line: 27, column: 41, }, end: Position { line: 27, column: 60, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "key", span: Span { start: Position { line: 28, column: 22, }, end: Position { line: 28, column: 25, }, }, }, ), ], span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 28, column: 26, }, }, }, ), ], span: Span { start: Position { line: 28, column: 19, }, end: Position { line: 28, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 29, column: 9, }, end: Position { line: 29, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 29, column: 23, }, end: Position { line: 29, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 29, column: 27, }, end: Position { line: 29, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of events to match.", span: Span { start: Position { line: 29, column: 34, }, end: Position { line: 29, column: 58, }, }, }, ), ], span: Span { start: Position { line: 29, column: 33, }, end: Position { line: 29, column: 59, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 26, column: 25, }, end: Position { line: 30, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "attributes", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 32, column: 20, }, end: Position { line: 32, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 16, }, end: Position { line: 33, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 29, }, end: Position { line: 33, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 33, column: 35, }, end: Position { line: 33, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "exec", span: Span { start: Position { line: 34, column: 22, }, end: Position { line: 34, column: 26, }, }, }, ), ], span: Span { start: Position { line: 34, column: 21, }, end: Position { line: 34, column: 27, }, }, }, ), ], span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 35, column: 23, }, end: Position { line: 35, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 35, column: 27, }, end: Position { line: 35, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of attributes.", span: Span { start: Position { line: 35, column: 34, }, end: Position { line: 35, column: 53, }, }, }, ), ], span: Span { start: Position { line: 35, column: 33, }, end: Position { line: 35, column: 54, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 32, column: 29, }, end: Position { line: 36, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "command", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 39, column: 16, }, end: Position { line: 39, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 39, column: 22, }, end: Position { line: 39, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 40, column: 19, }, end: Position { line: 40, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 41, column: 23, }, end: Position { line: 41, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 41, column: 27, }, end: Position { line: 41, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "What to run.", span: Span { start: Position { line: 41, column: 34, }, end: Position { line: 41, column: 46, }, }, }, ), ], span: Span { start: Position { line: 41, column: 33, }, end: Position { line: 41, column: 47, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 38, column: 26, }, end: Position { line: 42, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 15, }, end: Position { line: 44, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 45, column: 4, }, }, }, ), span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 45, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 53, column: 3, }, end: Position { line: 53, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 55, column: 5, }, end: Position { line: 55, column: 13, }, }, }, ), Raw( PartRaw { content: "actkbd", span: Span { start: Position { line: 55, column: 14, }, end: Position { line: 55, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 57, column: 16, }, end: Position { line: 57, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 58, column: 16, }, end: Position { line: 58, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 58, column: 22, }, end: Position { line: 58, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 59, column: 19, }, end: Position { line: 59, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 60, column: 23, }, end: Position { line: 60, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 60, column: 27, }, end: Position { line: 60, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable the {command}`actkbd` key mapping daemon.\n\nTurning this on will start an {command}`actkbd`\ninstance for every evdev input that has at least one key\n(which is okay even for systems with tiny memory footprint,\nsince actkbd normally uses \\<100 bytes of memory per\ninstance).\n\nThis allows binding keys globally without the need for e.g.\nX11.\n", span: Span { start: Position { line: 61, column: 1, }, end: Position { line: 71, column: 9, }, }, }, ), ], span: Span { start: Position { line: 60, column: 33, }, end: Position { line: 71, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 57, column: 25, }, end: Position { line: 72, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindings", span: Span { start: Position { line: 74, column: 7, }, end: Position { line: 74, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 74, column: 18, }, end: Position { line: 74, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 75, column: 16, }, end: Position { line: 75, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 75, column: 22, }, end: Position { line: 75, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 75, column: 30, }, end: Position { line: 75, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 75, column: 36, }, end: Position { line: 75, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "bindingCfg", span: Span { start: Position { line: 75, column: 46, }, end: Position { line: 75, column: 56, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 76, column: 9, }, end: Position { line: 76, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 76, column: 19, }, end: Position { line: 76, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 77, column: 9, }, end: Position { line: 77, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 77, column: 19, }, end: Position { line: 77, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "literalExpression", span: Span { start: Position { line: 77, column: 23, }, end: Position { line: 77, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[ { keys = [ 113 ]; events = [ \"key\" ]; command = \"", span: Span { start: Position { line: 78, column: 1, }, end: Position { line: 78, column: 62, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 78, column: 1, }, end: Position { line: 78, column: 65, }, }, }, ), Raw( PartRaw { content: "{pkgs.alsa-utils}/bin/amixer -q set Master toggle\"; }\n]\n", span: Span { start: Position { line: 78, column: 1, }, end: Position { line: 80, column: 9, }, }, }, ), ], span: Span { start: Position { line: 77, column: 41, }, end: Position { line: 80, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 81, column: 23, }, end: Position { line: 81, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Key bindings for {command}`actkbd`.\n\nSee {command}`actkbd` {file}`README` for documentation.\n\nThe example shows a piece of what {option}`sound.mediaKeys.enable` does when enabled.\n", span: Span { start: Position { line: 82, column: 1, }, end: Position { line: 87, column: 9, }, }, }, ), ], span: Span { start: Position { line: 81, column: 33, }, end: Position { line: 87, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 74, column: 27, }, end: Position { line: 88, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 90, column: 7, }, end: Position { line: 90, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 90, column: 21, }, end: Position { line: 90, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 91, column: 16, }, end: Position { line: 91, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 92, column: 19, }, end: Position { line: 92, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 93, column: 23, }, end: Position { line: 93, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 93, column: 27, }, end: Position { line: 93, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Literal contents to append to the end of actkbd configuration file.\n", span: Span { start: Position { line: 94, column: 1, }, end: Position { line: 95, column: 9, }, }, }, ), ], span: Span { start: Position { line: 93, column: 33, }, end: Position { line: 95, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 90, column: 30, }, end: Position { line: 96, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 55, column: 23, }, end: Position { line: 98, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 53, column: 13, }, end: Position { line: 100, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 105, column: 3, }, end: Position { line: 105, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 105, column: 12, }, end: Position { line: 105, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 105, column: 17, }, end: Position { line: 105, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 105, column: 21, }, end: Position { line: 105, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 107, column: 5, }, end: Position { line: 107, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 107, column: 14, }, end: Position { line: 107, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 107, column: 19, }, end: Position { line: 107, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 107, column: 30, }, end: Position { line: 107, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "singleton", span: Span { start: Position { line: 107, column: 34, }, end: Position { line: 107, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 107, column: 45, }, end: Position { line: 107, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeTextFile", span: Span { start: Position { line: 107, column: 50, }, end: Position { line: 107, column: 63, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 108, column: 7, }, end: Position { line: 108, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "actkbd-udev-rules", span: Span { start: Position { line: 108, column: 15, }, end: Position { line: 108, column: 32, }, }, }, ), ], span: Span { start: Position { line: 108, column: 14, }, end: Position { line: 108, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "destination", span: Span { start: Position { line: 109, column: 7, }, end: Position { line: 109, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/etc/udev/rules.d/61-actkbd.rules", span: Span { start: Position { line: 109, column: 22, }, end: Position { line: 109, column: 55, }, }, }, ), ], span: Span { start: Position { line: 109, column: 21, }, end: Position { line: 109, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 110, column: 7, }, end: Position { line: 110, column: 11, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ACTION==\"add\", SUBSYSTEM==\"input\", KERNEL==\"event[0-9]*\", ENV{ID_INPUT_KEY}==\"1\", TAG+=\"systemd\", ENV{SYSTEMD_WANTS}+=\"actkbd@$env{DEVNAME}.service\"\n", span: Span { start: Position { line: 111, column: 1, }, end: Position { line: 112, column: 7, }, }, }, ), ], span: Span { start: Position { line: 110, column: 14, }, end: Position { line: 112, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 107, column: 64, }, end: Position { line: 113, column: 6, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 115, column: 5, }, end: Position { line: 115, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 115, column: 13, }, end: Position { line: 115, column: 21, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "actkbd@", span: Span { start: Position { line: 115, column: 23, }, end: Position { line: 115, column: 30, }, }, }, ), ], span: Span { start: Position { line: 115, column: 22, }, end: Position { line: 115, column: 31, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 116, column: 7, }, end: Position { line: 116, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 116, column: 16, }, end: Position { line: 116, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 117, column: 7, }, end: Position { line: 117, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 117, column: 26, }, end: Position { line: 117, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 118, column: 7, }, end: Position { line: 118, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Description", span: Span { start: Position { line: 119, column: 9, }, end: Position { line: 119, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "actkbd on %I", span: Span { start: Position { line: 119, column: 24, }, end: Position { line: 119, column: 36, }, }, }, ), ], span: Span { start: Position { line: 119, column: 23, }, end: Position { line: 119, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ConditionPathExists", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "%I", span: Span { start: Position { line: 120, column: 32, }, end: Position { line: 120, column: 34, }, }, }, ), ], span: Span { start: Position { line: 120, column: 31, }, end: Position { line: 120, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 118, column: 20, }, end: Position { line: 121, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 122, column: 7, }, end: Position { line: 122, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "forking", span: Span { start: Position { line: 123, column: 17, }, end: Position { line: 123, column: 24, }, }, }, ), ], span: Span { start: Position { line: 123, column: 16, }, end: Position { line: 123, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 124, column: 9, }, end: Position { line: 124, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 124, column: 24, }, end: Position { line: 124, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "actkbd", span: Span { start: Position { line: 124, column: 29, }, end: Position { line: 124, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/actkbd -D -c ", span: Span { start: Position { line: 124, column: 22, }, end: Position { line: 124, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 124, column: 56, }, end: Position { line: 124, column: 66, }, }, }, ), }, ), Raw( PartRaw { content: " -d %I", span: Span { start: Position { line: 124, column: 22, }, end: Position { line: 124, column: 73, }, }, }, ), ], span: Span { start: Position { line: 124, column: 21, }, end: Position { line: 124, column: 74, }, }, }, ), }, ), ], span: Span { start: Position { line: 122, column: 23, }, end: Position { line: 125, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 115, column: 34, }, end: Position { line: 126, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 129, column: 5, }, end: Position { line: 129, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 129, column: 17, }, end: Position { line: 129, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 129, column: 36, }, end: Position { line: 129, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "actkbd", span: Span { start: Position { line: 129, column: 41, }, end: Position { line: 129, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 129, column: 34, }, end: Position { line: 129, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 105, column: 28, }, end: Position { line: 131, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 133, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 133, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 133, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 133, column: 2, }, }, }, )