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: 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: "programs", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "openvpn3", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 33, }, }, }, ), ], default: None, }, ), }, ), ], 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: "programs", span: Span { start: Position { line: 9, column: 11, }, end: Position { line: 9, column: 19, }, }, }, ), Raw( PartRaw { content: "openvpn3", span: Span { start: Position { line: 9, column: 20, }, end: Position { line: 9, column: 28, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 10, column: 30, }, end: Position { line: 10, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 10, column: 34, }, end: Position { line: 10, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "the openvpn3 client", span: Span { start: Position { line: 10, column: 41, }, end: Position { line: 10, column: 60, }, }, }, ), ], span: Span { start: Position { line: 10, column: 40, }, end: Position { line: 10, column: 61, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 31, }, end: Position { line: 11, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 13, column: 12, }, end: Position { line: 13, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 13, column: 17, }, end: Position { line: 13, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 13, }, }, }, ), Raw( PartRaw { content: "dbus", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 14, column: 19, }, end: Position { line: 14, column: 27, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 14, column: 35, }, end: Position { line: 14, column: 39, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "openvpn3", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 15, }, }, }, ), ], span: Span { start: Position { line: 14, column: 41, }, end: Position { line: 16, column: 6, }, }, }, ), span: Span { start: Position { line: 14, column: 30, }, end: Position { line: 16, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 18, column: 11, }, end: Position { line: 18, column: 16, }, }, }, ), Raw( PartRaw { content: "openvpn", span: Span { start: Position { line: 18, column: 17, }, end: Position { line: 18, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 19, column: 22, }, end: Position { line: 19, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 20, column: 13, }, end: Position { line: 20, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 20, column: 20, }, end: Position { line: 20, column: 23, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 20, column: 24, }, end: Position { line: 20, column: 28, }, }, }, ), Raw( PartRaw { content: "openvpn", span: Span { start: Position { line: 20, column: 29, }, end: Position { line: 20, column: 36, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "openvpn", span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 23, }, }, }, ), ], span: Span { start: Position { line: 21, column: 15, }, end: Position { line: 21, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 18, column: 27, }, end: Position { line: 22, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 24, column: 11, }, end: Position { line: 24, column: 17, }, }, }, ), Raw( PartRaw { content: "openvpn", span: Span { start: Position { line: 24, column: 18, }, end: Position { line: 24, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gid", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 25, column: 13, }, end: Position { line: 25, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 25, column: 20, }, end: Position { line: 25, column: 23, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 25, column: 24, }, end: Position { line: 25, column: 28, }, }, }, ), Raw( PartRaw { content: "openvpn", span: Span { start: Position { line: 25, column: 29, }, end: Position { line: 25, column: 36, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 24, column: 28, }, end: Position { line: 26, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 28, column: 17, }, end: Position { line: 28, column: 31, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 28, column: 39, }, end: Position { line: 28, column: 43, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "openvpn3", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 15, }, }, }, ), ], span: Span { start: Position { line: 28, column: 45, }, end: Position { line: 30, column: 6, }, }, }, ), span: Span { start: Position { line: 28, column: 34, }, end: Position { line: 30, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 28, }, end: Position { line: 31, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 33, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 33, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 33, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 33, column: 2, }, }, }, )