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, }, FunctionHeadDestructuredArgument { identifier: "utils", 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: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "kanata", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "keyboard", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 11, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "devices", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 10, column: 17, }, end: Position { line: 10, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "addCheck", span: Span { start: Position { line: 11, column: 22, }, end: Position { line: 11, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 32, }, end: Position { line: 11, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 11, column: 38, }, end: Position { line: 11, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 45, }, end: Position { line: 11, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 11, column: 51, }, end: Position { line: 11, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "devices", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 12, column: 22, }, end: Position { line: 12, column: 28, }, }, }, ), arguments: [ Identifier( Identifier { id: "devices", span: Span { start: Position { line: 12, column: 29, }, end: Position { line: 12, column: 36, }, }, }, ), ], }, ), operator: GreaterThan, right: Integer( Integer { value: "0", span: Span { start: Position { line: 12, column: 40, }, end: Position { line: 12, column: 41, }, }, }, ), }, ), span: Span { start: Position { line: 12, column: 12, }, end: Position { line: 12, column: 41, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/dev/input/by-id/usb-0000_0000-event-kbd", span: Span { start: Position { line: 13, column: 22, }, end: Position { line: 13, column: 62, }, }, }, ), ], span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 63, }, }, }, ), ], span: Span { start: Position { line: 13, column: 19, }, end: Position { line: 13, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 16, column: 23, }, end: Position { line: 16, column: 28, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Paths to keyboard devices.\n\n::: {.note}\nTo avoid unnecessary triggers of the service unit, unplug devices in\nthe order of the list.\n:::\n", span: Span { start: Position { line: 17, column: 1, }, end: Position { line: 23, column: 9, }, }, }, ), ], span: Span { start: Position { line: 16, column: 29, }, end: Position { line: 23, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 26, }, end: Position { line: 24, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 16, }, end: Position { line: 25, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 16, }, end: Position { line: 26, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 26, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "(defsrc\n grv 1 2 3 4 5 6 7 8 9 0 - = bspc\n tab q w e r t y u i o p [ ] \\\n caps a s d f g h j k l ; ' ret\n lsft z x c v b n m , . / rsft\n lctl lmet lalt spc ralt rmet rctl)\n\n(deflayer qwerty\n grv 1 2 3 4 5 6 7 8 9 0 - = bspc\n tab q w e r t y u i o p [ ] \\\n @cap a s d f g h j k l ; ' ret\n lsft z x c v b n m , . / rsft\n lctl lmet lalt spc ralt rmet rctl)\n\n(defalias\n ;; tap within 100ms for capslk, hold more than 100ms for lctl\n cap (tap-hold 100 100 caps lctl))\n", span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 45, column: 9, }, }, }, ), ], span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 45, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 46, column: 23, }, end: Position { line: 46, column: 28, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configuration other than `defcfg`. See [example config\nfiles](https://github.com/jtroo/kanata) for more information.\n", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 49, column: 9, }, }, }, ), ], span: Span { start: Position { line: 46, column: 29, }, end: Position { line: 49, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 25, }, end: Position { line: 50, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraDefCfg", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 51, column: 21, }, end: Position { line: 51, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 53, column: 19, }, end: Position { line: 53, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "danger-enable-cmd yes", span: Span { start: Position { line: 54, column: 20, }, end: Position { line: 54, column: 41, }, }, }, ), ], span: Span { start: Position { line: 54, column: 19, }, end: Position { line: 54, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 55, column: 23, }, end: Position { line: 55, column: 28, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configuration of `defcfg` other than `linux-dev`. See [example\nconfig files](https://github.com/jtroo/kanata) for more information.\n", span: Span { start: Position { line: 56, column: 1, }, end: Position { line: 58, column: 9, }, }, }, ), ], span: Span { start: Position { line: 55, column: 29, }, end: Position { line: 58, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 51, column: 30, }, end: Position { line: 59, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraArgs", span: Span { start: Position { line: 60, column: 7, }, end: Position { line: 60, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 19, }, end: Position { line: 60, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 16, }, end: Position { line: 61, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 61, column: 22, }, end: Position { line: 61, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 29, }, end: Position { line: 61, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 61, column: 35, }, end: Position { line: 61, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 62, column: 19, }, end: Position { line: 62, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 63, column: 23, }, end: Position { line: 63, column: 28, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra command line arguments passed to kanata.", span: Span { start: Position { line: 63, column: 30, }, end: Position { line: 63, column: 76, }, }, }, ), ], span: Span { start: Position { line: 63, column: 29, }, end: Position { line: 63, column: 77, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 60, column: 28, }, end: Position { line: 64, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 65, column: 7, }, end: Position { line: 65, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 65, column: 14, }, end: Position { line: 65, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 66, column: 16, }, end: Position { line: 66, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 66, column: 22, }, end: Position { line: 66, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 66, column: 29, }, end: Position { line: 66, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 66, column: 35, }, end: Position { line: 66, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 67, column: 19, }, end: Position { line: 67, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 16, }, }, }, ), ], to: Integer( Integer { value: "6666", span: Span { start: Position { line: 68, column: 19, }, end: Position { line: 68, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 69, column: 23, }, end: Position { line: 69, column: 28, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Port to run the notification server on. `null` will not run the\nserver.\n", span: Span { start: Position { line: 70, column: 1, }, end: Position { line: 72, column: 9, }, }, }, ), ], span: Span { start: Position { line: 69, column: 29, }, end: Position { line: 72, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 65, column: 23, }, end: Position { line: 73, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 15, }, end: Position { line: 74, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 75, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkName", span: Span { start: Position { line: 77, column: 3, }, end: Position { line: 77, column: 9, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "kanata-", span: Span { start: Position { line: 77, column: 19, }, end: Position { line: 77, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 77, column: 28, }, end: Position { line: 77, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 77, column: 18, }, end: Position { line: 77, column: 34, }, }, }, ), span: Span { start: Position { line: 77, column: 12, }, end: Position { line: 77, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkDevices", span: Span { start: Position { line: 79, column: 3, }, end: Position { line: 79, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "devices", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 79, column: 24, }, end: Position { line: 79, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ":", span: Span { start: Position { line: 79, column: 42, }, end: Position { line: 79, column: 43, }, }, }, ), ], span: Span { start: Position { line: 79, column: 41, }, end: Position { line: 79, column: 44, }, }, }, ), Identifier( Identifier { id: "devices", span: Span { start: Position { line: 79, column: 45, }, end: Position { line: 79, column: 52, }, }, }, ), ], }, ), span: Span { start: Position { line: 79, column: 15, }, end: Position { line: 79, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkConfig", span: Span { start: Position { line: 81, column: 3, }, end: Position { line: 81, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "keyboard", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 81, column: 30, }, end: Position { line: 81, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 81, column: 35, }, end: Position { line: 81, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkName", span: Span { start: Position { line: 81, column: 48, }, end: Position { line: 81, column: 54, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 81, column: 55, }, end: Position { line: 81, column: 59, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "-config.kdb", span: Span { start: Position { line: 81, column: 46, }, end: Position { line: 81, column: 71, }, }, }, ), ], span: Span { start: Position { line: 81, column: 45, }, end: Position { line: 81, column: 72, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "(defcfg\n ", span: Span { start: Position { line: 82, column: 1, }, end: Position { line: 83, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraDefCfg", span: Span { start: Position { line: 83, column: 18, }, end: Position { line: 83, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n linux-dev ", span: Span { start: Position { line: 82, column: 1, }, end: Position { line: 84, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDevices", span: Span { start: Position { line: 84, column: 19, }, end: Position { line: 84, column: 28, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 84, column: 29, }, end: Position { line: 84, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "devices", span: Span { start: Position { line: 84, column: 38, }, end: Position { line: 84, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: ")\n\n", span: Span { start: Position { line: 82, column: 1, }, end: Position { line: 86, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 86, column: 7, }, end: Position { line: 86, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 86, column: 16, }, end: Position { line: 86, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 82, column: 1, }, end: Position { line: 87, column: 3, }, }, }, ), ], span: Span { start: Position { line: 81, column: 73, }, end: Position { line: 87, column: 5, }, }, }, ), ], }, ), span: Span { start: Position { line: 81, column: 20, }, end: Position { line: 87, column: 5, }, }, }, ), span: Span { start: Position { line: 81, column: 14, }, end: Position { line: 87, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkService", span: Span { start: Position { line: 89, column: 3, }, end: Position { line: 89, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "keyboard", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 89, column: 31, }, end: Position { line: 89, column: 44, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkName", span: Span { start: Position { line: 89, column: 46, }, end: Position { line: 89, column: 52, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 89, column: 53, }, end: Position { line: 89, column: 57, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 90, column: 5, }, end: Position { line: 90, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "kanata for ", span: Span { start: Position { line: 90, column: 20, }, end: Position { line: 90, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDevices", span: Span { start: Position { line: 90, column: 33, }, end: Position { line: 90, column: 42, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 90, column: 43, }, end: Position { line: 90, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "devices", span: Span { start: Position { line: 90, column: 52, }, end: Position { line: 90, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 90, column: 19, }, end: Position { line: 90, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "stopIfChanged", span: Span { start: Position { line: 96, column: 5, }, end: Position { line: 96, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 96, column: 21, }, end: Position { line: 96, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 98, column: 5, }, end: Position { line: 98, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 99, column: 7, }, end: Position { line: 99, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 100, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 100, column: 11, }, end: Position { line: 100, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 100, column: 15, }, end: Position { line: 100, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/kanata \\\n --cfg ", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 101, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkConfig", span: Span { start: Position { line: 101, column: 19, }, end: Position { line: 101, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 101, column: 28, }, end: Position { line: 101, column: 32, }, }, }, ), Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 101, column: 33, }, end: Position { line: 101, column: 41, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n --symlink-path ", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 102, column: 26, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 102, column: 29, }, }, }, ), Raw( PartRaw { content: "{RUNTIME_DIRECTORY}/", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 102, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 102, column: 51, }, end: Position { line: 102, column: 55, }, }, }, ), }, ), Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 103, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 103, column: 13, }, end: Position { line: 103, column: 27, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 103, column: 29, }, end: Position { line: 103, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 103, column: 38, }, end: Position { line: 103, column: 42, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 103, column: 46, }, end: Position { line: 103, column: 50, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "--port ", span: Span { start: Position { line: 103, column: 53, }, end: Position { line: 103, column: 85, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 103, column: 62, }, end: Position { line: 103, column: 70, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 103, column: 71, }, end: Position { line: 103, column: 79, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 103, column: 80, }, end: Position { line: 103, column: 84, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 103, column: 52, }, end: Position { line: 103, column: 86, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 104, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "utils", span: Span { start: Position { line: 104, column: 13, }, end: Position { line: 104, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeSystemdExecArgs", span: Span { start: Position { line: 104, column: 19, }, end: Position { line: 104, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 104, column: 41, }, end: Position { line: 104, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraArgs", span: Span { start: Position { line: 104, column: 50, }, end: Position { line: 104, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 105, column: 7, }, }, }, ), ], span: Span { start: Position { line: 99, column: 19, }, end: Position { line: 105, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 107, column: 7, }, end: Position { line: 107, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 107, column: 21, }, end: Position { line: 107, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectory", span: Span { start: Position { line: 108, column: 7, }, end: Position { line: 108, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkName", span: Span { start: Position { line: 108, column: 26, }, end: Position { line: 108, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 108, column: 33, }, end: Position { line: 108, column: 37, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SupplementaryGroups", span: Span { start: Position { line: 109, column: 7, }, end: Position { line: 109, column: 26, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 109, column: 34, }, end: Position { line: 109, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 109, column: 41, }, end: Position { line: 109, column: 46, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 109, column: 47, }, end: Position { line: 109, column: 53, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "input", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 110, column: 15, }, end: Position { line: 110, column: 19, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "uinput", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 111, column: 16, }, end: Position { line: 111, column: 20, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 109, column: 55, }, end: Position { line: 112, column: 8, }, }, }, ), span: Span { start: Position { line: 109, column: 29, }, end: Position { line: 112, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DeviceAllow", span: Span { start: Position { line: 115, column: 7, }, end: Position { line: 115, column: 18, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/dev/uinput rw", span: Span { start: Position { line: 116, column: 10, }, end: Position { line: 116, column: 24, }, }, }, ), ], span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 25, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "char-input r", span: Span { start: Position { line: 117, column: 10, }, end: Position { line: 117, column: 22, }, }, }, ), ], span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 23, }, }, }, ), ], span: Span { start: Position { line: 115, column: 21, }, end: Position { line: 118, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CapabilityBoundingSet", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 28, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [], span: Span { start: Position { line: 119, column: 33, }, end: Position { line: 119, column: 35, }, }, }, ), ], span: Span { start: Position { line: 119, column: 31, }, end: Position { line: 119, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DevicePolicy", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "closed", span: Span { start: Position { line: 120, column: 23, }, end: Position { line: 120, column: 29, }, }, }, ), ], span: Span { start: Position { line: 120, column: 22, }, end: Position { line: 120, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "IPAddressAllow", span: Span { start: Position { line: 121, column: 7, }, end: Position { line: 121, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 121, column: 24, }, end: Position { line: 121, column: 32, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 121, column: 34, }, end: Position { line: 121, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 121, column: 43, }, end: Position { line: 121, column: 47, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 121, column: 51, }, end: Position { line: 121, column: 55, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 121, column: 58, }, end: Position { line: 121, column: 67, }, }, }, ), ], span: Span { start: Position { line: 121, column: 57, }, end: Position { line: 121, column: 68, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "IPAddressDeny", span: Span { start: Position { line: 122, column: 7, }, end: Position { line: 122, column: 20, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "any", span: Span { start: Position { line: 122, column: 26, }, end: Position { line: 122, column: 29, }, }, }, ), ], span: Span { start: Position { line: 122, column: 25, }, end: Position { line: 122, column: 30, }, }, }, ), ], span: Span { start: Position { line: 122, column: 23, }, end: Position { line: 122, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LockPersonality", span: Span { start: Position { line: 123, column: 7, }, end: Position { line: 123, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 123, column: 25, }, end: Position { line: 123, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MemoryDenyWriteExecute", span: Span { start: Position { line: 124, column: 7, }, end: Position { line: 124, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 124, column: 32, }, end: Position { line: 124, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateNetwork", span: Span { start: Position { line: 125, column: 7, }, end: Position { line: 125, column: 21, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 125, column: 24, }, end: Position { line: 125, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 125, column: 33, }, end: Position { line: 125, column: 37, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 125, column: 41, }, end: Position { line: 125, column: 45, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateUsers", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 126, column: 22, }, end: Position { line: 126, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProcSubset", span: Span { start: Position { line: 127, column: 7, }, end: Position { line: 127, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "pid", span: Span { start: Position { line: 127, column: 21, }, end: Position { line: 127, column: 24, }, }, }, ), ], span: Span { start: Position { line: 127, column: 20, }, end: Position { line: 127, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectClock", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 128, column: 22, }, end: Position { line: 128, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectControlGroups", span: Span { start: Position { line: 129, column: 7, }, end: Position { line: 129, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 129, column: 30, }, end: Position { line: 129, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHome", span: Span { start: Position { line: 130, column: 7, }, end: Position { line: 130, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 130, column: 21, }, end: Position { line: 130, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHostname", span: Span { start: Position { line: 131, column: 7, }, end: Position { line: 131, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 131, column: 25, }, end: Position { line: 131, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelLogs", span: Span { start: Position { line: 132, column: 7, }, end: Position { line: 132, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 132, column: 27, }, end: Position { line: 132, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelModules", span: Span { start: Position { line: 133, column: 7, }, end: Position { line: 133, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 133, column: 30, }, end: Position { line: 133, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelTunables", span: Span { start: Position { line: 134, column: 7, }, end: Position { line: 134, column: 28, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 134, column: 31, }, end: Position { line: 134, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectProc", span: Span { start: Position { line: 135, column: 7, }, end: Position { line: 135, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "invisible", span: Span { start: Position { line: 135, column: 22, }, end: Position { line: 135, column: 31, }, }, }, ), ], span: Span { start: Position { line: 135, column: 21, }, end: Position { line: 135, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictAddressFamilies", span: Span { start: Position { line: 136, column: 7, }, end: Position { line: 136, column: 30, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 137, column: 13, }, end: Position { line: 137, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 137, column: 22, }, end: Position { line: 137, column: 26, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 137, column: 30, }, end: Position { line: 137, column: 34, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "none", span: Span { start: Position { line: 137, column: 42, }, end: Position { line: 137, column: 46, }, }, }, ), ], span: Span { start: Position { line: 137, column: 41, }, end: Position { line: 137, column: 47, }, }, }, ), else_: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "AF_INET", span: Span { start: Position { line: 137, column: 56, }, end: Position { line: 137, column: 63, }, }, }, ), ], span: Span { start: Position { line: 137, column: 55, }, end: Position { line: 137, column: 64, }, }, }, ), ], span: Span { start: Position { line: 137, column: 53, }, end: Position { line: 137, column: 66, }, }, }, ), span: Span { start: Position { line: 137, column: 9, }, end: Position { line: 137, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictNamespaces", span: Span { start: Position { line: 138, column: 7, }, end: Position { line: 138, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 138, column: 28, }, end: Position { line: 138, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictRealtime", span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 139, column: 26, }, end: Position { line: 139, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallArchitectures", span: Span { start: Position { line: 140, column: 7, }, end: Position { line: 140, column: 30, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "native", span: Span { start: Position { line: 140, column: 36, }, end: Position { line: 140, column: 42, }, }, }, ), ], span: Span { start: Position { line: 140, column: 35, }, end: Position { line: 140, column: 43, }, }, }, ), ], span: Span { start: Position { line: 140, column: 33, }, end: Position { line: 140, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallFilter", span: Span { start: Position { line: 141, column: 7, }, end: Position { line: 141, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "@system-service", span: Span { start: Position { line: 142, column: 10, }, end: Position { line: 142, column: 25, }, }, }, ), ], span: Span { start: Position { line: 142, column: 9, }, end: Position { line: 142, column: 26, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "~@privileged", span: Span { start: Position { line: 143, column: 10, }, end: Position { line: 143, column: 22, }, }, }, ), ], span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 23, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "~@resources", span: Span { start: Position { line: 144, column: 10, }, end: Position { line: 144, column: 21, }, }, }, ), ], span: Span { start: Position { line: 144, column: 9, }, end: Position { line: 144, column: 22, }, }, }, ), ], span: Span { start: Position { line: 141, column: 26, }, end: Position { line: 145, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "UMask", span: Span { start: Position { line: 146, column: 7, }, end: Position { line: 146, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0077", span: Span { start: Position { line: 146, column: 16, }, end: Position { line: 146, column: 20, }, }, }, ), ], span: Span { start: Position { line: 146, column: 15, }, end: Position { line: 146, column: 21, }, }, }, ), }, ), ], span: Span { start: Position { line: 98, column: 21, }, end: Position { line: 147, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 89, column: 59, }, end: Position { line: 148, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 89, column: 21, }, end: Position { line: 148, column: 4, }, }, }, ), span: Span { start: Position { line: 89, column: 15, }, end: Position { line: 148, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkPathName", span: Span { start: Position { line: 150, column: 3, }, end: Position { line: 150, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "i", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkName", span: Span { start: Position { line: 150, column: 28, }, end: Position { line: 150, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 150, column: 35, }, end: Position { line: 150, column: 39, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "-", span: Span { start: Position { line: 150, column: 26, }, end: Position { line: 150, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 150, column: 43, }, end: Position { line: 150, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "i", span: Span { start: Position { line: 150, column: 52, }, end: Position { line: 150, column: 53, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 150, column: 25, }, end: Position { line: 150, column: 55, }, }, }, ), span: Span { start: Position { line: 150, column: 19, }, end: Position { line: 150, column: 55, }, }, }, ), span: Span { start: Position { line: 150, column: 16, }, end: Position { line: 150, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkPath", span: Span { start: Position { line: 152, column: 3, }, end: Position { line: 152, column: 9, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "i", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "device", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 153, column: 5, }, end: Position { line: 153, column: 18, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkPathName", span: Span { start: Position { line: 153, column: 20, }, end: Position { line: 153, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "i", span: Span { start: Position { line: 153, column: 31, }, end: Position { line: 153, column: 32, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 153, column: 33, }, end: Position { line: 153, column: 37, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 154, column: 7, }, end: Position { line: 154, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 155, column: 12, }, end: Position { line: 155, column: 20, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "i", span: Span { start: Position { line: 155, column: 22, }, end: Position { line: 155, column: 23, }, }, }, ), operator: Addition, right: Integer( Integer { value: "1", span: Span { start: Position { line: 155, column: 24, }, end: Position { line: 155, column: 25, }, }, }, ), }, ), ], }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 155, column: 10, }, end: Position { line: 155, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 155, column: 30, }, end: Position { line: 155, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 155, column: 39, }, end: Position { line: 155, column: 40, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " kanata trigger for ", span: Span { start: Position { line: 155, column: 10, }, end: Position { line: 155, column: 61, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 155, column: 63, }, end: Position { line: 155, column: 67, }, }, }, ), }, ), Raw( PartRaw { content: ", watching ", span: Span { start: Position { line: 155, column: 10, }, end: Position { line: 155, column: 79, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "device", span: Span { start: Position { line: 155, column: 81, }, end: Position { line: 155, column: 87, }, }, }, ), }, ), ], span: Span { start: Position { line: 155, column: 9, }, end: Position { line: 155, column: 89, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 156, column: 7, }, end: Position { line: 156, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 156, column: 18, }, end: Position { line: 156, column: 26, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "i", span: Span { start: Position { line: 156, column: 28, }, end: Position { line: 156, column: 29, }, }, }, ), operator: EqualTo, right: Integer( Integer { value: "0", span: Span { start: Position { line: 156, column: 33, }, end: Position { line: 156, column: 34, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 156, column: 37, }, end: Position { line: 156, column: 54, }, }, }, ), ], span: Span { start: Position { line: 156, column: 36, }, end: Position { line: 156, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pathConfig", span: Span { start: Position { line: 157, column: 7, }, end: Position { line: 157, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PathExists", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "device", span: Span { start: Position { line: 158, column: 22, }, end: Position { line: 158, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Unit", span: Span { start: Position { line: 162, column: 9, }, end: Position { line: 162, column: 13, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "i", span: Span { start: Position { line: 163, column: 15, }, end: Position { line: 163, column: 16, }, }, }, ), operator: Addition, right: Integer( Integer { value: "1", span: Span { start: Position { line: 163, column: 19, }, end: Position { line: 163, column: 20, }, }, }, ), }, ), operator: EqualTo, right: Identifier( Identifier { id: "n", span: Span { start: Position { line: 163, column: 25, }, end: Position { line: 163, column: 26, }, }, }, ), }, ), then: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkName", span: Span { start: Position { line: 164, column: 19, }, end: Position { line: 164, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 164, column: 26, }, end: Position { line: 164, column: 30, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ".service", span: Span { start: Position { line: 164, column: 17, }, end: Position { line: 164, column: 39, }, }, }, ), ], span: Span { start: Position { line: 164, column: 16, }, end: Position { line: 164, column: 40, }, }, }, ), else_: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkPathName", span: Span { start: Position { line: 165, column: 19, }, end: Position { line: 165, column: 29, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "i", span: Span { start: Position { line: 165, column: 31, }, end: Position { line: 165, column: 32, }, }, }, ), operator: Addition, right: Integer( Integer { value: "1", span: Span { start: Position { line: 165, column: 35, }, end: Position { line: 165, column: 36, }, }, }, ), }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 165, column: 38, }, end: Position { line: 165, column: 42, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ".path", span: Span { start: Position { line: 165, column: 17, }, end: Position { line: 165, column: 48, }, }, }, ), ], span: Span { start: Position { line: 165, column: 16, }, end: Position { line: 165, column: 49, }, }, }, ), span: Span { start: Position { line: 163, column: 11, }, end: Position { line: 165, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 157, column: 20, }, end: Position { line: 166, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 167, column: 7, }, end: Position { line: 167, column: 17, }, }, }, ), Raw( PartRaw { content: "StopPropagatedFrom", span: Span { start: Position { line: 167, column: 18, }, end: Position { line: 167, column: 36, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 167, column: 39, }, end: Position { line: 167, column: 47, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "i", span: Span { start: Position { line: 167, column: 49, }, end: Position { line: 167, column: 50, }, }, }, ), operator: GreaterThan, right: Integer( Integer { value: "0", span: Span { start: Position { line: 167, column: 53, }, end: Position { line: 167, column: 54, }, }, }, ), }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkName", span: Span { start: Position { line: 167, column: 59, }, end: Position { line: 167, column: 65, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 167, column: 66, }, end: Position { line: 167, column: 70, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ".service", span: Span { start: Position { line: 167, column: 57, }, end: Position { line: 167, column: 79, }, }, }, ), ], span: Span { start: Position { line: 167, column: 56, }, end: Position { line: 167, column: 80, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 153, column: 39, }, end: Position { line: 168, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 152, column: 24, }, end: Position { line: 168, column: 6, }, }, }, ), span: Span { start: Position { line: 152, column: 21, }, end: Position { line: 168, column: 6, }, }, }, ), span: Span { start: Position { line: 152, column: 18, }, end: Position { line: 168, column: 6, }, }, }, ), span: Span { start: Position { line: 152, column: 12, }, end: Position { line: 168, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkPaths", span: Span { start: Position { line: 170, column: 3, }, end: Position { line: 170, column: 10, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "keyboard", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "n", span: Span { start: Position { line: 172, column: 7, }, end: Position { line: 172, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 172, column: 11, }, end: Position { line: 172, column: 17, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 172, column: 18, }, end: Position { line: 172, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "devices", span: Span { start: Position { line: 172, column: 27, }, end: Position { line: 172, column: 34, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "imap0", span: Span { start: Position { line: 174, column: 5, }, end: Position { line: 174, column: 10, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkPath", span: Span { start: Position { line: 174, column: 12, }, end: Position { line: 174, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 174, column: 19, }, end: Position { line: 174, column: 23, }, }, }, ), Identifier( Identifier { id: "n", span: Span { start: Position { line: 174, column: 24, }, end: Position { line: 174, column: 25, }, }, }, ), ], }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 174, column: 27, }, end: Position { line: 174, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "devices", span: Span { start: Position { line: 174, column: 36, }, end: Position { line: 174, column: 43, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 171, column: 5, }, end: Position { line: 174, column: 43, }, }, }, ), span: Span { start: Position { line: 170, column: 19, }, end: Position { line: 174, column: 43, }, }, }, ), span: Span { start: Position { line: 170, column: 13, }, end: Position { line: 174, column: 43, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 178, column: 3, }, end: Position { line: 178, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 178, column: 11, }, end: Position { line: 178, column: 19, }, }, }, ), Raw( PartRaw { content: "kanata", span: Span { start: Position { line: 178, column: 20, }, end: Position { line: 178, column: 26, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 179, column: 5, }, end: Position { line: 179, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 179, column: 14, }, end: Position { line: 179, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 179, column: 30, }, end: Position { line: 179, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 179, column: 34, }, end: Position { line: 179, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "kanata", span: Span { start: Position { line: 179, column: 41, }, end: Position { line: 179, column: 47, }, }, }, ), ], span: Span { start: Position { line: 179, column: 40, }, end: Position { line: 179, column: 48, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 180, column: 5, }, end: Position { line: 180, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 180, column: 15, }, end: Position { line: 180, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 181, column: 7, }, end: Position { line: 181, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 181, column: 14, }, end: Position { line: 181, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 181, column: 20, }, end: Position { line: 181, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 182, column: 7, }, end: Position { line: 182, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 182, column: 17, }, end: Position { line: 182, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "kanata", span: Span { start: Position { line: 182, column: 22, }, end: Position { line: 182, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 183, column: 7, }, end: Position { line: 183, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 183, column: 21, }, end: Position { line: 183, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.kanata", span: Span { start: Position { line: 183, column: 40, }, end: Position { line: 183, column: 51, }, }, }, ), ], span: Span { start: Position { line: 183, column: 39, }, end: Position { line: 183, column: 52, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 184, column: 7, }, end: Position { line: 184, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 184, column: 17, }, end: Position { line: 184, column: 34, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.kanata-with-cmd", span: Span { start: Position { line: 184, column: 36, }, end: Position { line: 184, column: 56, }, }, }, ), ], span: Span { start: Position { line: 184, column: 35, }, end: Position { line: 184, column: 57, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 185, column: 7, }, end: Position { line: 185, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 185, column: 21, }, end: Position { line: 185, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The kanata package to use.\n\n::: {.note}\nIf `danger-enable-cmd` is enabled in any of the keyboards, the\n`kanata-with-cmd` package should be used.\n:::\n", span: Span { start: Position { line: 186, column: 1, }, end: Position { line: 192, column: 7, }, }, }, ), ], span: Span { start: Position { line: 185, column: 27, }, end: Position { line: 192, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 180, column: 24, }, end: Position { line: 193, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "keyboards", span: Span { start: Position { line: 194, column: 5, }, end: Position { line: 194, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 194, column: 17, }, end: Position { line: 194, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 195, column: 7, }, end: Position { line: 195, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 195, column: 14, }, end: Position { line: 195, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 195, column: 20, }, end: Position { line: 195, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 195, column: 29, }, end: Position { line: 195, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 195, column: 35, }, end: Position { line: 195, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "keyboard", span: Span { start: Position { line: 195, column: 45, }, end: Position { line: 195, column: 53, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 196, column: 7, }, end: Position { line: 196, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 196, column: 17, }, end: Position { line: 196, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 197, column: 7, }, end: Position { line: 197, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 197, column: 21, }, end: Position { line: 197, column: 26, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Keyboard configurations.", span: Span { start: Position { line: 197, column: 28, }, end: Position { line: 197, column: 52, }, }, }, ), ], span: Span { start: Position { line: 197, column: 27, }, end: Position { line: 197, column: 53, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 194, column: 26, }, end: Position { line: 198, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 178, column: 29, }, end: Position { line: 199, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 201, column: 3, }, end: Position { line: 201, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 201, column: 12, }, end: Position { line: 201, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 201, column: 17, }, end: Position { line: 201, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 201, column: 21, }, end: Position { line: 201, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 202, column: 5, }, end: Position { line: 202, column: 13, }, }, }, ), Raw( PartRaw { content: "uinput", span: Span { start: Position { line: 202, column: 14, }, end: Position { line: 202, column: 20, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 202, column: 21, }, end: Position { line: 202, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 202, column: 30, }, end: Position { line: 202, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 204, column: 5, }, end: Position { line: 204, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paths", span: Span { start: Position { line: 205, column: 7, }, end: Position { line: 205, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "trivial", span: Span { start: Position { line: 205, column: 15, }, end: Position { line: 205, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pipe", span: Span { start: Position { line: 205, column: 23, }, end: Position { line: 205, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 205, column: 28, }, end: Position { line: 205, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "keyboards", span: Span { start: Position { line: 205, column: 32, }, end: Position { line: 205, column: 41, }, }, }, ), ], default: None, }, ), List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 206, column: 10, }, end: Position { line: 206, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "mkPaths", span: Span { start: Position { line: 206, column: 25, }, end: Position { line: 206, column: 32, }, }, }, ), ], }, ), Identifier( Identifier { id: "concatLists", span: Span { start: Position { line: 207, column: 9, }, end: Position { line: 207, column: 20, }, }, }, ), Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 208, column: 9, }, end: Position { line: 208, column: 20, }, }, }, ), ], span: Span { start: Position { line: 205, column: 42, }, end: Position { line: 209, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 210, column: 7, }, end: Position { line: 210, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs'", span: Span { start: Position { line: 210, column: 18, }, end: Position { line: 210, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "mkService", span: Span { start: Position { line: 210, column: 28, }, end: Position { line: 210, column: 37, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 210, column: 38, }, end: Position { line: 210, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "keyboards", span: Span { start: Position { line: 210, column: 42, }, end: Position { line: 210, column: 51, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 204, column: 15, }, end: Position { line: 211, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 201, column: 28, }, end: Position { line: 212, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 214, column: 3, }, end: Position { line: 214, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 214, column: 8, }, end: Position { line: 214, column: 19, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 214, column: 27, }, end: Position { line: 214, column: 38, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "linj", span: Span { start: Position { line: 214, column: 42, }, end: Position { line: 214, column: 46, }, }, }, ), ], span: Span { start: Position { line: 214, column: 40, }, end: Position { line: 214, column: 48, }, }, }, ), span: Span { start: Position { line: 214, column: 22, }, end: Position { line: 214, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 177, column: 1, }, end: Position { line: 215, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 215, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 215, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 215, column: 2, }, }, }, )