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: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), Raw( PartRaw { content: "environment", span: Span { start: Position { line: 9, column: 11, }, end: Position { line: 9, column: 22, }, }, }, ), Raw( PartRaw { content: "enableAllTerminfo", span: Span { start: Position { line: 9, column: 23, }, end: Position { line: 9, column: 40, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 48, }, end: Position { line: 9, column: 51, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 9, column: 53, }, end: Position { line: 9, column: 61, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 10, column: 15, }, end: Position { line: 10, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 9, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 12, }, end: Position { line: 11, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 22, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 12, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 12, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to install all terminfo outputs\n", span: Span { start: Position { line: 13, column: 1, }, end: Position { line: 14, column: 5, }, }, }, ), ], span: Span { start: Position { line: 12, column: 29, }, end: Position { line: 14, column: 7, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 62, }, end: Position { line: 15, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 9, column: 43, }, end: Position { line: 15, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 20, column: 17, }, end: Position { line: 20, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 20, column: 34, }, end: Position { line: 20, column: 38, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 20, column: 39, }, end: Position { line: 20, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 20, column: 46, }, end: Position { line: 20, column: 57, }, }, }, ), Raw( PartRaw { content: "enableAllTerminfo", span: Span { start: Position { line: 20, column: 58, }, end: Position { line: 20, column: 75, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 20, column: 77, }, end: Position { line: 20, column: 80, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 20, column: 85, }, end: Position { line: 20, column: 86, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "terminfo", span: Span { start: Position { line: 20, column: 87, }, end: Position { line: 20, column: 95, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 20, column: 82, }, end: Position { line: 20, column: 95, }, }, }, ), With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 20, column: 103, }, end: Position { line: 20, column: 107, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "alacritty", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 16, }, }, }, ), Identifier( Identifier { id: "foot", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 11, }, }, }, ), Identifier( Identifier { id: "kitty", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 12, }, }, }, ), Identifier( Identifier { id: "mtm", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 10, }, }, }, ), Identifier( Identifier { id: "rxvt-unicode-unwrapped", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 29, }, }, }, ), Identifier( Identifier { id: "rxvt-unicode-unwrapped-emoji", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 35, }, }, }, ), Identifier( Identifier { id: "termite", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 14, }, }, }, ), Identifier( Identifier { id: "wezterm", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 14, }, }, }, ), ], span: Span { start: Position { line: 20, column: 109, }, end: Position { line: 29, column: 6, }, }, }, ), span: Span { start: Position { line: 20, column: 98, }, end: Position { line: 29, column: 6, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 16, }, }, }, ), Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 31, column: 17, }, end: Position { line: 31, column: 28, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/share/terminfo", span: Span { start: Position { line: 32, column: 8, }, end: Position { line: 32, column: 23, }, }, }, ), ], span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 24, }, }, }, ), ], span: Span { start: Position { line: 31, column: 31, }, end: Position { line: 33, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 35, column: 5, }, end: Position { line: 35, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 35, column: 17, }, end: Position { line: 35, column: 20, }, }, }, ), Raw( PartRaw { content: "terminfo", span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 35, column: 29, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 36, column: 19, }, end: Position { line: 36, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 36, column: 26, }, end: Position { line: 36, column: 32, }, }, }, ), Raw( PartRaw { content: "path", span: Span { start: Position { line: 36, column: 33, }, end: Position { line: 36, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/terminfo", span: Span { start: Position { line: 36, column: 17, }, end: Position { line: 36, column: 53, }, }, }, ), ], span: Span { start: Position { line: 36, column: 16, }, end: Position { line: 36, column: 54, }, }, }, ), }, ), ], span: Span { start: Position { line: 35, column: 32, }, end: Position { line: 37, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 16, }, }, }, ), Raw( PartRaw { content: "profileRelativeSessionVariables", span: Span { start: Position { line: 39, column: 17, }, end: Position { line: 39, column: 48, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "TERMINFO_DIRS", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 20, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/share/terminfo", span: Span { start: Position { line: 40, column: 26, }, end: Position { line: 40, column: 41, }, }, }, ), ], span: Span { start: Position { line: 40, column: 25, }, end: Position { line: 40, column: 42, }, }, }, ), ], span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 40, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 51, }, end: Position { line: 41, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 16, }, }, }, ), Raw( PartRaw { content: "extraInit", span: Span { start: Position { line: 43, column: 17, }, end: Position { line: 43, column: 26, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\n# reset TERM with new TERMINFO available (if any)\nexport TERM=$TERM\n", span: Span { start: Position { line: 44, column: 1, }, end: Position { line: 47, column: 5, }, }, }, ), ], span: Span { start: Position { line: 43, column: 29, }, end: Position { line: 47, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 13, }, }, }, ), Raw( PartRaw { content: "sudo", span: Span { start: Position { line: 49, column: 14, }, end: Position { line: 49, column: 18, }, }, }, ), Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 49, column: 19, }, end: Position { line: 49, column: 30, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\n# Keep terminfo database for root and %wheel.\nDefaults:root,%wheel env_keep+=TERMINFO_DIRS\nDefaults:root,%wheel env_keep+=TERMINFO\n", span: Span { start: Position { line: 50, column: 1, }, end: Position { line: 54, column: 5, }, }, }, ), ], span: Span { start: Position { line: 49, column: 33, }, end: Position { line: 54, column: 7, }, }, }, ), }, ), ], span: Span { start: Position { line: 17, column: 12, }, end: Position { line: 56, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 57, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 57, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 57, column: 2, }, }, }, )