Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 10, }, end: Position { line: 7, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 7, column: 17, }, end: Position { line: 7, column: 25, }, }, }, ), Raw( PartRaw { content: "mosh", span: Span { start: Position { line: 7, column: 26, }, end: Position { line: 7, column: 30, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 10, }, }, }, ), Raw( PartRaw { content: "programs", span: Span { start: Position { line: 11, column: 11, }, end: Position { line: 11, column: 19, }, }, }, ), Raw( PartRaw { content: "mosh", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 13, column: 25, }, end: Position { line: 13, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable mosh. Note, this will open ports in your firewall!\n", span: Span { start: Position { line: 14, column: 1, }, end: Position { line: 15, column: 7, }, }, }, ), ], span: Span { start: Position { line: 13, column: 31, }, end: Position { line: 15, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 14, }, end: Position { line: 17, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 17, column: 18, }, end: Position { line: 17, column: 23, }, }, }, ), Raw( PartRaw { content: "bool", span: Span { start: Position { line: 17, column: 24, }, end: Position { line: 17, column: 28, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 18, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withUtempter", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 19, column: 20, }, end: Position { line: 19, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 21, }, end: Position { line: 20, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 20, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable libutempter for mosh.\nThis is required so that mosh can write to /var/run/utmp (which can be queried with `who` to display currently connected user sessions).\nNote, this will add a guid wrapper for the group utmp!\n", span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 24, column: 7, }, }, }, ), ], span: Span { start: Position { line: 20, column: 31, }, end: Position { line: 24, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 25, column: 17, }, end: Position { line: 25, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 26, column: 14, }, end: Position { line: 26, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 26, column: 18, }, end: Position { line: 26, column: 23, }, }, }, ), Raw( PartRaw { content: "bool", span: Span { start: Position { line: 26, column: 24, }, end: Position { line: 26, column: 28, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 19, column: 29, }, end: Position { line: 27, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 28, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 30, column: 12, }, end: Position { line: 30, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 30, column: 17, }, end: Position { line: 30, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 30, column: 21, }, end: Position { line: 30, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 31, column: 17, }, end: Position { line: 31, column: 31, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 31, column: 39, }, end: Position { line: 31, column: 43, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "mosh", span: Span { start: Position { line: 31, column: 47, }, end: Position { line: 31, column: 51, }, }, }, ), ], span: Span { start: Position { line: 31, column: 45, }, end: Position { line: 31, column: 53, }, }, }, ), span: Span { start: Position { line: 31, column: 34, }, end: Position { line: 31, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 15, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 32, column: 16, }, end: Position { line: 32, column: 24, }, }, }, ), Raw( PartRaw { content: "allowedUDPPortRanges", span: Span { start: Position { line: 32, column: 25, }, end: Position { line: 32, column: 45, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "from", span: Span { start: Position { line: 32, column: 52, }, end: Position { line: 32, column: 56, }, }, }, ), ], to: Integer( Integer { value: "60000", span: Span { start: Position { line: 32, column: 59, }, end: Position { line: 32, column: 64, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "to", span: Span { start: Position { line: 32, column: 66, }, end: Position { line: 32, column: 68, }, }, }, ), ], to: Integer( Integer { value: "61000", span: Span { start: Position { line: 32, column: 71, }, end: Position { line: 32, column: 76, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 50, }, end: Position { line: 32, column: 79, }, }, }, ), ], span: Span { start: Position { line: 32, column: 48, }, end: Position { line: 32, column: 81, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 13, }, }, }, ), Raw( PartRaw { content: "wrappers", span: Span { start: Position { line: 33, column: 14, }, end: Position { line: 33, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 33, column: 25, }, end: Position { line: 33, column: 29, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 33, column: 30, }, end: Position { line: 33, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "withUtempter", span: Span { start: Position { line: 33, column: 34, }, end: Position { line: 33, column: 46, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "utempter", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 35, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "libutempter", span: Span { start: Position { line: 35, column: 26, }, end: Position { line: 35, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/utempter/utempter", span: Span { start: Position { line: 35, column: 19, }, end: Position { line: 35, column: 60, }, }, }, ), ], span: Span { start: Position { line: 35, column: 18, }, end: Position { line: 35, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owner", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "root", span: Span { start: Position { line: 36, column: 18, }, end: Position { line: 36, column: 22, }, }, }, ), ], span: Span { start: Position { line: 36, column: 17, }, end: Position { line: 36, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "utmp", span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 22, }, }, }, ), ], span: Span { start: Position { line: 37, column: 17, }, end: Position { line: 37, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "setuid", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 38, column: 18, }, end: Position { line: 38, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "setgid", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 39, column: 18, }, end: Position { line: 39, column: 22, }, }, }, ), }, ), ], span: Span { start: Position { line: 34, column: 18, }, end: Position { line: 40, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 33, column: 47, }, end: Position { line: 41, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 30, column: 28, }, end: Position { line: 42, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 43, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 43, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 43, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 43, column: 2, }, }, }, )