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: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 8, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 11, }, end: Position { line: 7, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 7, column: 18, }, end: Position { line: 7, column: 26, }, }, }, ), Raw( PartRaw { content: "spacefm", span: Span { start: Position { line: 7, column: 27, }, end: Position { line: 7, column: 34, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 13, }, }, }, ), Raw( PartRaw { content: "spacefm", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 17, column: 16, }, end: Position { line: 17, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 18, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 18, column: 22, }, end: Position { line: 18, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 19, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 23, }, end: Position { line: 20, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 20, column: 27, }, end: Position { line: 20, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to install SpaceFM and create {file}`/etc/spacefm/spacefm.conf`.\n", span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 22, column: 9, }, }, }, ), ], span: Span { start: Position { line: 20, column: 33, }, end: Position { line: 22, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 25, }, end: Position { line: 23, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 18, }, end: Position { line: 25, column: 26, }, }, }, ), 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: "attrs", span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 26, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tmp_dir", span: Span { start: Position { line: 28, column: 11, }, end: Position { line: 28, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/tmp", span: Span { start: Position { line: 28, column: 22, }, end: Position { line: 28, column: 26, }, }, }, ), ], span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 28, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "terminal_su", span: Span { start: Position { line: 29, column: 11, }, end: Position { line: 29, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 29, column: 28, }, end: Position { line: 29, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sudo", span: Span { start: Position { line: 29, column: 33, }, end: Position { line: 29, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/sudo", span: Span { start: Position { line: 29, column: 26, }, end: Position { line: 29, column: 47, }, }, }, ), ], span: Span { start: Position { line: 29, column: 25, }, end: Position { line: 29, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 30, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 31, column: 23, }, end: Position { line: 31, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n tmp_dir = \"/tmp\";\n terminal_su = \"", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 34, column: 28, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 34, column: 31, }, }, }, ), Raw( PartRaw { content: "{pkgs.sudo}/bin/sudo\";\n}\n", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 36, column: 9, }, }, }, ), ], span: Span { start: Position { line: 31, column: 41, }, end: Position { line: 36, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 37, column: 23, }, end: Position { line: 37, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 37, column: 27, }, end: Position { line: 37, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The system-wide spacefm configuration.\nParameters to be written to {file}`/etc/spacefm/spacefm.conf`.\nRefer to the [relevant entry](https://ignorantguru.github.io/spacefm/spacefm-manual-en.html#programfiles-etc) in the SpaceFM manual.\n", span: Span { start: Position { line: 38, column: 1, }, end: Position { line: 41, column: 9, }, }, }, ), ], span: Span { start: Position { line: 37, column: 33, }, end: Position { line: 41, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 27, }, end: Position { line: 42, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 15, column: 24, }, end: Position { line: 44, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 13, }, end: Position { line: 45, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 49, column: 3, }, end: Position { line: 49, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 49, column: 12, }, end: Position { line: 49, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 49, column: 17, }, end: Position { line: 49, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 49, column: 21, }, end: Position { line: 49, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 50, column: 17, }, end: Position { line: 50, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 50, column: 36, }, end: Position { line: 50, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "spaceFM", span: Span { start: Position { line: 50, column: 41, }, end: Position { line: 50, column: 48, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 50, column: 34, }, end: Position { line: 50, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 52, column: 17, }, end: Position { line: 52, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "spacefm/spacefm.conf", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 42, }, }, }, ), ], span: Span { start: Position { line: 52, column: 21, }, end: Position { line: 52, column: 43, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 52, column: 44, }, end: Position { line: 52, column: 48, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStrings", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 20, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 53, column: 22, }, end: Position { line: 53, column: 36, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 53, column: 47, }, end: Position { line: 53, column: 48, }, }, }, ), }, ), Raw( PartRaw { content: "=", span: Span { start: Position { line: 53, column: 45, }, end: Position { line: 53, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 53, column: 52, }, end: Position { line: 53, column: 60, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 53, column: 61, }, end: Position { line: 53, column: 62, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 53, column: 45, }, end: Position { line: 53, column: 65, }, }, }, ), ], span: Span { start: Position { line: 53, column: 44, }, end: Position { line: 53, column: 66, }, }, }, ), span: Span { start: Position { line: 53, column: 41, }, end: Position { line: 53, column: 66, }, }, }, ), span: Span { start: Position { line: 53, column: 38, }, end: Position { line: 53, column: 66, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 53, column: 68, }, end: Position { line: 53, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 53, column: 72, }, end: Position { line: 53, column: 80, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 49, column: 28, }, end: Position { line: 54, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 55, column: 2, }, }, }, ), span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 55, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 55, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 55, column: 2, }, }, }, )