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: 5, column: 3, }, end: Position { line: 5, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 24, }, }, }, ), Raw( PartRaw { content: "pacemaker", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 34, }, }, }, ), ], 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: "services", span: Span { start: Position { line: 9, column: 11, }, end: Position { line: 9, column: 19, }, }, }, ), Raw( PartRaw { content: "pacemaker", span: Span { start: Position { line: 9, column: 20, }, end: Position { line: 9, column: 29, }, }, }, ), ], 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: "pacemaker", span: Span { start: Position { line: 10, column: 41, }, end: Position { line: 10, column: 50, }, }, }, ), ], span: Span { start: Position { line: 10, column: 40, }, end: Position { line: 10, column: 51, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 12, column: 15, }, end: Position { line: 12, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 13, column: 14, }, end: Position { line: 13, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 14, column: 17, }, end: Position { line: 14, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pacemaker", span: Span { start: Position { line: 14, column: 22, }, end: Position { line: 14, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 15, column: 21, }, end: Position { line: 15, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.pacemaker", span: Span { start: Position { line: 15, column: 40, }, end: Position { line: 15, column: 54, }, }, }, ), ], span: Span { start: Position { line: 15, column: 39, }, end: Position { line: 15, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 16, column: 25, }, end: Position { line: 16, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Package that should be used for pacemaker.", span: Span { start: Position { line: 16, column: 32, }, end: Position { line: 16, column: 74, }, }, }, ), ], span: Span { start: Position { line: 16, column: 31, }, end: Position { line: 16, column: 75, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 17, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 32, }, end: Position { line: 18, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 21, column: 12, }, end: Position { line: 21, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 21, column: 21, }, end: Position { line: 21, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 23, column: 19, }, end: Position { line: 23, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 23, column: 26, }, end: Position { line: 23, column: 34, }, }, }, ), Raw( PartRaw { content: "corosync", span: Span { start: Position { line: 23, column: 35, }, end: Position { line: 23, column: 43, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 23, column: 44, }, end: Position { line: 23, column: 50, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 14, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enabling services.pacemaker requires a services.corosync configuration.\n", span: Span { start: Position { line: 25, column: 1, }, end: Position { line: 26, column: 7, }, }, }, ), ], span: Span { start: Position { line: 24, column: 17, }, end: Position { line: 26, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 22, column: 20, }, end: Position { line: 27, column: 6, }, }, }, ), ], span: Span { start: Position { line: 22, column: 18, }, end: Position { line: 27, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 29, column: 17, }, end: Position { line: 29, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 29, column: 36, }, end: Position { line: 29, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 29, column: 40, }, end: Position { line: 29, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 29, column: 34, }, end: Position { line: 29, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 32, column: 11, }, end: Position { line: 32, column: 16, }, }, }, ), Raw( PartRaw { content: "hacluster", span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 26, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "pacemaker", span: Span { start: Position { line: 34, column: 16, }, end: Position { line: 34, column: 25, }, }, }, ), ], span: Span { start: Position { line: 34, column: 15, }, end: Position { line: 34, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/pacemaker", span: Span { start: Position { line: 35, column: 15, }, end: Position { line: 35, column: 33, }, }, }, ), ], span: Span { start: Position { line: 35, column: 14, }, end: Position { line: 35, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 29, }, end: Position { line: 36, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 37, column: 11, }, end: Position { line: 37, column: 17, }, }, }, ), Raw( PartRaw { content: "pacemaker", span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 37, column: 30, }, end: Position { line: 37, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 39, column: 13, }, end: Position { line: 39, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 39, column: 22, }, end: Position { line: 39, column: 27, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "d /var/log/pacemaker 0700 hacluster pacemaker -", span: Span { start: Position { line: 40, column: 8, }, end: Position { line: 40, column: 55, }, }, }, ), ], span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 56, }, }, }, ), ], span: Span { start: Position { line: 39, column: 30, }, end: Position { line: 41, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 12, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 43, column: 13, }, end: Position { line: 43, column: 21, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 43, column: 26, }, end: Position { line: 43, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 43, column: 30, }, end: Position { line: 43, column: 37, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 43, column: 24, }, end: Position { line: 43, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 44, column: 5, }, end: Position { line: 44, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 44, column: 13, }, end: Position { line: 44, column: 21, }, }, }, ), Raw( PartRaw { content: "pacemaker", span: Span { start: Position { line: 44, column: 22, }, end: Position { line: 44, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 45, column: 21, }, end: Position { line: 45, column: 38, }, }, }, ), ], span: Span { start: Position { line: 45, column: 20, }, end: Position { line: 45, column: 39, }, }, }, ), ], span: Span { start: Position { line: 45, column: 18, }, end: Position { line: 45, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "pacemaker", span: Span { start: Position { line: 47, column: 27, }, end: Position { line: 47, column: 36, }, }, }, ), ], span: Span { start: Position { line: 47, column: 26, }, end: Position { line: 47, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectoryMode", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0700", span: Span { start: Position { line: 48, column: 31, }, end: Position { line: 48, column: 35, }, }, }, ), ], span: Span { start: Position { line: 48, column: 30, }, end: Position { line: 48, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 46, column: 23, }, end: Position { line: 49, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 44, column: 34, }, end: Position { line: 50, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 21, column: 28, }, end: Position { line: 51, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 52, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 52, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 52, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 52, column: 2, }, }, }, )