Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", 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: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "prometheus", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 35, }, }, }, ), Raw( PartRaw { content: "alertmanager", span: Span { start: Position { line: 6, column: 36, }, end: Position { line: 6, column: 48, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkConfigFile", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 7, column: 18, }, end: Position { line: 7, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 7, column: 23, }, end: Position { line: 7, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "alertmanager.yml", span: Span { start: Position { line: 7, column: 34, }, end: Position { line: 7, column: 50, }, }, }, ), ], span: Span { start: Position { line: 7, column: 33, }, end: Position { line: 7, column: 51, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 7, column: 53, }, end: Position { line: 7, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 7, column: 62, }, end: Position { line: 7, column: 68, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 7, column: 69, }, end: Position { line: 7, column: 72, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configuration", span: Span { start: Position { line: 7, column: 73, }, end: Position { line: 7, column: 86, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkedConfig", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "file", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 9, column: 25, }, end: Position { line: 9, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 9, column: 30, }, end: Position { line: 9, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "checked-config", span: Span { start: Position { line: 9, column: 42, }, end: Position { line: 9, column: 56, }, }, }, ), ], span: Span { start: Position { line: 9, column: 41, }, end: Position { line: 9, column: 57, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "buildInputs", span: Span { start: Position { line: 9, column: 60, }, end: Position { line: 9, column: 71, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 9, column: 76, }, end: Position { line: 9, column: 79, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 9, column: 80, }, end: Position { line: 9, column: 87, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 9, column: 74, }, end: Position { line: 9, column: 89, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 58, }, end: Position { line: 9, column: 92, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ln -s ", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 10, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "file", span: Span { start: Position { line: 10, column: 13, }, end: Position { line: 10, column: 17, }, }, }, ), }, ), Raw( PartRaw { content: " $out\namtool check-config $out\n", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 12, column: 3, }, }, }, ), ], span: Span { start: Position { line: 9, column: 93, }, end: Position { line: 12, column: 5, }, }, }, ), ], }, ), span: Span { start: Position { line: 9, column: 19, }, end: Position { line: 12, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "alertmanagerYml", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 18, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "yml", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 8, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configText", span: Span { start: Position { line: 15, column: 18, }, end: Position { line: 15, column: 28, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 15, column: 32, }, end: Position { line: 15, column: 36, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 16, column: 14, }, end: Position { line: 16, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "alertmanager.yml", span: Span { start: Position { line: 16, column: 25, }, end: Position { line: 16, column: 41, }, }, }, ), ], span: Span { start: Position { line: 16, column: 24, }, end: Position { line: 16, column: 42, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 43, }, end: Position { line: 16, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configText", span: Span { start: Position { line: 16, column: 47, }, end: Position { line: 16, column: 57, }, }, }, ), ], default: None, }, ), ], }, ), else_: Identifier( Identifier { id: "mkConfigFile", span: Span { start: Position { line: 17, column: 14, }, end: Position { line: 17, column: 26, }, }, }, ), span: Span { start: Position { line: 15, column: 11, }, end: Position { line: 17, column: 26, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "checkedConfig", span: Span { start: Position { line: 18, column: 8, }, end: Position { line: 18, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "yml", span: Span { start: Position { line: 18, column: 22, }, end: Position { line: 18, column: 25, }, }, }, ), ], }, ), span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 18, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cmdlineArgs", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 20, column: 17, }, end: Position { line: 20, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 20, column: 21, }, end: Position { line: 20, column: 31, }, }, }, ), ], default: None, }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "--config.file /tmp/alert-manager-substituted.yaml", span: Span { start: Position { line: 21, column: 6, }, end: Position { line: 21, column: 55, }, }, }, ), ], span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 56, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--web.listen-address ", span: Span { start: Position { line: 22, column: 6, }, end: Position { line: 22, column: 47, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 22, column: 29, }, end: Position { line: 22, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 22, column: 33, }, end: Position { line: 22, column: 46, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 22, column: 6, }, end: Position { line: 22, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 22, column: 50, }, end: Position { line: 22, column: 58, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 22, column: 59, }, end: Position { line: 22, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 22, column: 63, }, end: Position { line: 22, column: 67, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 69, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--log.level ", span: Span { start: Position { line: 23, column: 6, }, end: Position { line: 23, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 23, column: 20, }, end: Position { line: 23, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logLevel", span: Span { start: Position { line: 23, column: 24, }, end: Position { line: 23, column: 32, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 23, column: 5, }, end: Position { line: 23, column: 34, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--storage.path /var/lib/alertmanager", span: Span { start: Position { line: 24, column: 6, }, end: Position { line: 24, column: 42, }, }, }, ), ], span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 43, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 25, column: 6, }, end: Position { line: 25, column: 14, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 25, column: 16, }, end: Position { line: 25, column: 19, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "peer", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "--cluster.peer ", span: Span { start: Position { line: 25, column: 28, }, end: Position { line: 25, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "peer", span: Span { start: Position { line: 25, column: 45, }, end: Position { line: 25, column: 49, }, }, }, ), }, ), Raw( PartRaw { content: ":9094", span: Span { start: Position { line: 25, column: 28, }, end: Position { line: 25, column: 55, }, }, }, ), ], span: Span { start: Position { line: 25, column: 27, }, end: Position { line: 25, column: 56, }, }, }, ), span: Span { start: Position { line: 25, column: 21, }, end: Position { line: 25, column: 56, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 25, column: 58, }, end: Position { line: 25, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "clusterPeers", span: Span { start: Position { line: 25, column: 62, }, end: Position { line: 25, column: 74, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], span: Span { start: Position { line: 20, column: 35, }, end: Position { line: 26, column: 6, }, }, }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 26, column: 11, }, end: Position { line: 26, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 26, column: 21, }, end: Position { line: 26, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "webExternalUrl", span: Span { start: Position { line: 26, column: 25, }, end: Position { line: 26, column: 39, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 26, column: 43, }, end: Position { line: 26, column: 47, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "--web.external-url ", span: Span { start: Position { line: 27, column: 8, }, end: Position { line: 27, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 27, column: 29, }, end: Position { line: 27, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "webExternalUrl", span: Span { start: Position { line: 27, column: 33, }, end: Position { line: 27, column: 47, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 49, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 28, column: 11, }, end: Position { line: 28, column: 19, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 28, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logFormat", span: Span { start: Position { line: 28, column: 25, }, end: Position { line: 28, column: 34, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 28, column: 38, }, end: Position { line: 28, column: 42, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "--log.format ", span: Span { start: Position { line: 29, column: 8, }, end: Position { line: 29, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 29, column: 23, }, end: Position { line: 29, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logFormat", span: Span { start: Position { line: 29, column: 27, }, end: Position { line: 29, column: 36, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 38, }, }, }, ), ], }, ), }, ), }, ), }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 32, column: 3, }, end: Position { line: 32, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 33, column: 6, }, end: Position { line: 33, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 33, column: 31, }, end: Position { line: 33, column: 39, }, }, }, ), ], span: Span { start: Position { line: 33, column: 30, }, end: Position { line: 33, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "prometheus", span: Span { start: Position { line: 33, column: 42, }, end: Position { line: 33, column: 52, }, }, }, ), ], span: Span { start: Position { line: 33, column: 41, }, end: Position { line: 33, column: 53, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "alertmanager", span: Span { start: Position { line: 33, column: 55, }, end: Position { line: 33, column: 67, }, }, }, ), ], span: Span { start: Position { line: 33, column: 54, }, end: Position { line: 33, column: 68, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 33, column: 70, }, end: Position { line: 33, column: 74, }, }, }, ), ], span: Span { start: Position { line: 33, column: 69, }, end: Position { line: 33, column: 75, }, }, }, ), ], span: Span { start: Position { line: 33, column: 28, }, end: Position { line: 33, column: 77, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "The alertmanager service is now using systemd's DynamicUser mechanism which obviates a user setting.", span: Span { start: Position { line: 33, column: 79, }, end: Position { line: 33, column: 179, }, }, }, ), ], span: Span { start: Position { line: 33, column: 78, }, end: Position { line: 33, column: 180, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 34, column: 6, }, end: Position { line: 34, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 34, column: 31, }, end: Position { line: 34, column: 39, }, }, }, ), ], span: Span { start: Position { line: 34, column: 30, }, end: Position { line: 34, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "prometheus", span: Span { start: Position { line: 34, column: 42, }, end: Position { line: 34, column: 52, }, }, }, ), ], span: Span { start: Position { line: 34, column: 41, }, end: Position { line: 34, column: 53, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "alertmanager", span: Span { start: Position { line: 34, column: 55, }, end: Position { line: 34, column: 67, }, }, }, ), ], span: Span { start: Position { line: 34, column: 54, }, end: Position { line: 34, column: 68, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 34, column: 70, }, end: Position { line: 34, column: 75, }, }, }, ), ], span: Span { start: Position { line: 34, column: 69, }, end: Position { line: 34, column: 76, }, }, }, ), ], span: Span { start: Position { line: 34, column: 28, }, end: Position { line: 34, column: 78, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "The alertmanager service is now using systemd's DynamicUser mechanism which obviates a group setting.", span: Span { start: Position { line: 34, column: 80, }, end: Position { line: 34, column: 181, }, }, }, ), ], span: Span { start: Position { line: 34, column: 79, }, end: Position { line: 34, column: 182, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 35, column: 6, }, end: Position { line: 35, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 35, column: 31, }, end: Position { line: 35, column: 39, }, }, }, ), ], span: Span { start: Position { line: 35, column: 30, }, end: Position { line: 35, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "prometheus", span: Span { start: Position { line: 35, column: 42, }, end: Position { line: 35, column: 52, }, }, }, ), ], span: Span { start: Position { line: 35, column: 41, }, end: Position { line: 35, column: 53, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "alertmanagerURL", span: Span { start: Position { line: 35, column: 55, }, end: Position { line: 35, column: 70, }, }, }, ), ], span: Span { start: Position { line: 35, column: 54, }, end: Position { line: 35, column: 71, }, }, }, ), ], span: Span { start: Position { line: 35, column: 28, }, end: Position { line: 35, column: 73, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Due to incompatibility, the alertmanagerURL option has been removed,\nplease use 'services.prometheus2.alertmanagers' instead.\n", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 38, column: 5, }, }, }, ), ], span: Span { start: Position { line: 35, column: 74, }, end: Position { line: 38, column: 7, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 32, column: 13, }, end: Position { line: 39, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 41, column: 3, }, end: Position { line: 41, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 42, column: 5, }, end: Position { line: 42, column: 13, }, }, }, ), Raw( PartRaw { content: "prometheus", span: Span { start: Position { line: 42, column: 14, }, end: Position { line: 42, column: 24, }, }, }, ), Raw( PartRaw { content: "alertmanager", span: Span { start: Position { line: 42, column: 25, }, end: Position { line: 42, column: 37, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 43, column: 16, }, end: Position { line: 43, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 43, column: 32, }, end: Position { line: 43, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 43, column: 36, }, end: Position { line: 43, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Prometheus Alertmanager", span: Span { start: Position { line: 43, column: 43, }, end: Position { line: 43, column: 66, }, }, }, ), ], span: Span { start: Position { line: 43, column: 42, }, end: Position { line: 43, column: 67, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 17, }, end: Position { line: 45, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 46, column: 16, }, end: Position { line: 46, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 46, column: 22, }, end: Position { line: 46, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prometheus-alertmanager", span: Span { start: Position { line: 47, column: 24, }, end: Position { line: 47, column: 47, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.alertmanager", span: Span { start: Position { line: 48, column: 42, }, end: Position { line: 48, column: 59, }, }, }, ), ], span: Span { start: Position { line: 48, column: 41, }, end: Position { line: 48, column: 60, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 49, column: 23, }, end: Position { line: 49, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 49, column: 27, }, end: Position { line: 49, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Package that should be used for alertmanager.\n", span: Span { start: Position { line: 50, column: 1, }, end: Position { line: 51, column: 9, }, }, }, ), ], span: Span { start: Position { line: 49, column: 33, }, end: Position { line: 51, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 26, }, end: Position { line: 52, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configuration", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 54, column: 23, }, end: Position { line: 54, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 55, column: 16, }, end: Position { line: 55, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 55, column: 22, }, end: Position { line: 55, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 55, column: 29, }, end: Position { line: 55, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 55, column: 35, }, end: Position { line: 55, column: 40, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 56, column: 9, }, end: Position { line: 56, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 56, column: 19, }, end: Position { line: 56, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 57, column: 23, }, end: Position { line: 57, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 57, column: 27, }, end: Position { line: 57, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Alertmanager configuration as nix attribute set.\n", span: Span { start: Position { line: 58, column: 1, }, end: Position { line: 59, column: 9, }, }, }, ), ], span: Span { start: Position { line: 57, column: 33, }, end: Position { line: 59, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 54, column: 32, }, end: Position { line: 60, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configText", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 62, column: 20, }, end: Position { line: 62, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 63, column: 16, }, end: Position { line: 63, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 63, column: 22, }, end: Position { line: 63, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 63, column: 29, }, end: Position { line: 63, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 63, column: 35, }, end: Position { line: 63, column: 40, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 64, column: 19, }, end: Position { line: 64, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 65, column: 23, }, end: Position { line: 65, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 65, column: 27, }, end: Position { line: 65, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Alertmanager configuration as YAML text. If non-null, this option\ndefines the text that is written to alertmanager.yml. If null, the\ncontents of alertmanager.yml is generated from the structured config\noptions.\n", span: Span { start: Position { line: 66, column: 1, }, end: Position { line: 70, column: 9, }, }, }, ), ], span: Span { start: Position { line: 65, column: 33, }, end: Position { line: 70, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 62, column: 29, }, end: Position { line: 71, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logFormat", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 73, column: 19, }, end: Position { line: 73, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 74, column: 16, }, end: Position { line: 74, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 74, column: 22, }, end: Position { line: 74, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 74, column: 29, }, end: Position { line: 74, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 74, column: 35, }, end: Position { line: 74, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 75, column: 19, }, end: Position { line: 75, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 76, column: 9, }, end: Position { line: 76, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 76, column: 23, }, end: Position { line: 76, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 76, column: 27, }, end: Position { line: 76, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "If set use a syslog logger or JSON logging.\n", span: Span { start: Position { line: 77, column: 1, }, end: Position { line: 78, column: 9, }, }, }, ), ], span: Span { start: Position { line: 76, column: 33, }, end: Position { line: 78, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 73, column: 28, }, end: Position { line: 79, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logLevel", span: Span { start: Position { line: 81, column: 7, }, end: Position { line: 81, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 81, column: 18, }, end: Position { line: 81, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 82, column: 16, }, end: Position { line: 82, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 82, column: 22, }, end: Position { line: 82, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "debug", span: Span { start: Position { line: 82, column: 29, }, end: Position { line: 82, column: 34, }, }, }, ), ], span: Span { start: Position { line: 82, column: 28, }, end: Position { line: 82, column: 35, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "info", span: Span { start: Position { line: 82, column: 37, }, end: Position { line: 82, column: 41, }, }, }, ), ], span: Span { start: Position { line: 82, column: 36, }, end: Position { line: 82, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 82, column: 44, }, end: Position { line: 82, column: 48, }, }, }, ), ], span: Span { start: Position { line: 82, column: 43, }, end: Position { line: 82, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "error", span: Span { start: Position { line: 82, column: 51, }, end: Position { line: 82, column: 56, }, }, }, ), ], span: Span { start: Position { line: 82, column: 50, }, end: Position { line: 82, column: 57, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "fatal", span: Span { start: Position { line: 82, column: 59, }, end: Position { line: 82, column: 64, }, }, }, ), ], span: Span { start: Position { line: 82, column: 58, }, end: Position { line: 82, column: 65, }, }, }, ), ], span: Span { start: Position { line: 82, column: 27, }, end: Position { line: 82, column: 66, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "warn", span: Span { start: Position { line: 83, column: 20, }, end: Position { line: 83, column: 24, }, }, }, ), ], span: Span { start: Position { line: 83, column: 19, }, end: Position { line: 83, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 84, column: 23, }, end: Position { line: 84, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 84, column: 27, }, end: Position { line: 84, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Only log messages with the given severity or above.\n", span: Span { start: Position { line: 85, column: 1, }, end: Position { line: 86, column: 9, }, }, }, ), ], span: Span { start: Position { line: 84, column: 33, }, end: Position { line: 86, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 87, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "webExternalUrl", span: Span { start: Position { line: 89, column: 7, }, end: Position { line: 89, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 89, column: 24, }, end: Position { line: 89, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 90, column: 16, }, end: Position { line: 90, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 90, column: 22, }, end: Position { line: 90, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 90, column: 29, }, end: Position { line: 90, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 90, column: 35, }, end: Position { line: 90, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 91, column: 19, }, end: Position { line: 91, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 92, column: 23, }, end: Position { line: 92, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 92, column: 27, }, end: Position { line: 92, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The URL under which Alertmanager is externally reachable (for example, if Alertmanager is served via a reverse proxy).\nUsed for generating relative and absolute links back to Alertmanager itself.\nIf the URL has a path portion, it will be used to prefix all HTTP endoints served by Alertmanager.\nIf omitted, relevant URL components will be derived automatically.\n", span: Span { start: Position { line: 93, column: 1, }, end: Position { line: 97, column: 9, }, }, }, ), ], span: Span { start: Position { line: 92, column: 33, }, end: Position { line: 97, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 89, column: 33, }, end: Position { line: 98, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 100, column: 7, }, end: Position { line: 100, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 100, column: 23, }, end: Position { line: 100, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 101, column: 9, }, end: Position { line: 101, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 101, column: 16, }, end: Position { line: 101, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 101, column: 22, }, end: Position { line: 101, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 102, column: 9, }, end: Position { line: 102, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 102, column: 19, }, end: Position { line: 102, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 103, column: 23, }, end: Position { line: 103, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 103, column: 27, }, end: Position { line: 103, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Address to listen on for the web interface and API. Empty string will listen on all interfaces.\n\"localhost\" will listen on 127.0.0.1 (but not ::1).\n", span: Span { start: Position { line: 104, column: 1, }, end: Position { line: 106, column: 9, }, }, }, ), ], span: Span { start: Position { line: 103, column: 33, }, end: Position { line: 106, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 100, column: 32, }, end: Position { line: 107, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 109, column: 7, }, end: Position { line: 109, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 109, column: 14, }, end: Position { line: 109, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 110, column: 16, }, end: Position { line: 110, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 110, column: 22, }, end: Position { line: 110, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 16, }, }, }, ), ], to: Integer( Integer { value: "9093", span: Span { start: Position { line: 111, column: 19, }, end: Position { line: 111, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 112, column: 9, }, end: Position { line: 112, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 112, column: 23, }, end: Position { line: 112, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 112, column: 27, }, end: Position { line: 112, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Port to listen on for the web interface and API.\n", span: Span { start: Position { line: 113, column: 1, }, end: Position { line: 114, column: 9, }, }, }, ), ], span: Span { start: Position { line: 112, column: 33, }, end: Position { line: 114, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 109, column: 23, }, end: Position { line: 115, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 117, column: 7, }, end: Position { line: 117, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 117, column: 22, }, end: Position { line: 117, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 118, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 118, column: 16, }, end: Position { line: 118, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 118, column: 22, }, end: Position { line: 118, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 119, column: 9, }, end: Position { line: 119, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 119, column: 19, }, end: Position { line: 119, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 120, column: 23, }, end: Position { line: 120, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 120, column: 27, }, end: Position { line: 120, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Open port in firewall for incoming connections.\n", span: Span { start: Position { line: 121, column: 1, }, end: Position { line: 122, column: 9, }, }, }, ), ], span: Span { start: Position { line: 120, column: 33, }, end: Position { line: 122, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 117, column: 31, }, end: Position { line: 123, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "clusterPeers", span: Span { start: Position { line: 125, column: 7, }, end: Position { line: 125, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 125, column: 22, }, end: Position { line: 125, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 126, column: 9, }, end: Position { line: 126, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 126, column: 16, }, end: Position { line: 126, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 126, column: 22, }, end: Position { line: 126, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 126, column: 29, }, end: Position { line: 126, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 126, column: 35, }, end: Position { line: 126, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 127, column: 9, }, end: Position { line: 127, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 127, column: 19, }, end: Position { line: 127, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 128, column: 9, }, end: Position { line: 128, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 128, column: 23, }, end: Position { line: 128, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 128, column: 27, }, end: Position { line: 128, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Initial peers for HA cluster.\n", span: Span { start: Position { line: 129, column: 1, }, end: Position { line: 130, column: 9, }, }, }, ), ], span: Span { start: Position { line: 128, column: 33, }, end: Position { line: 130, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 125, column: 31, }, end: Position { line: 131, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 133, column: 7, }, end: Position { line: 133, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 133, column: 20, }, end: Position { line: 133, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 134, column: 9, }, end: Position { line: 134, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 134, column: 16, }, end: Position { line: 134, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 134, column: 22, }, end: Position { line: 134, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 134, column: 29, }, end: Position { line: 134, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 134, column: 35, }, end: Position { line: 134, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 135, column: 9, }, end: Position { line: 135, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 135, column: 19, }, end: Position { line: 135, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 136, column: 9, }, end: Position { line: 136, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 136, column: 23, }, end: Position { line: 136, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 136, column: 27, }, end: Position { line: 136, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra commandline options when launching the Alertmanager.\n", span: Span { start: Position { line: 137, column: 1, }, end: Position { line: 138, column: 9, }, }, }, ), ], span: Span { start: Position { line: 136, column: 33, }, end: Position { line: 138, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 133, column: 29, }, end: Position { line: 139, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environmentFile", span: Span { start: Position { line: 141, column: 7, }, end: Position { line: 141, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 141, column: 25, }, end: Position { line: 141, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 142, column: 9, }, end: Position { line: 142, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 142, column: 16, }, end: Position { line: 142, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 142, column: 22, }, end: Position { line: 142, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 142, column: 29, }, end: Position { line: 142, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 142, column: 35, }, end: Position { line: 142, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 143, column: 19, }, end: Position { line: 143, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 144, column: 9, }, end: Position { line: 144, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/root/alertmanager.env", span: Span { start: Position { line: 144, column: 20, }, end: Position { line: 144, column: 42, }, }, }, ), ], span: Span { start: Position { line: 144, column: 19, }, end: Position { line: 144, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 145, column: 9, }, end: Position { line: 145, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 145, column: 23, }, end: Position { line: 145, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 145, column: 27, }, end: Position { line: 145, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "File to load as environment file. Environment variables\nfrom this file will be interpolated into the config file\nusing envsubst with this syntax:\n`$ENVIRONMENT ", span: Span { start: Position { line: 146, column: 1, }, end: Position { line: 149, column: 25, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 146, column: 1, }, end: Position { line: 149, column: 28, }, }, }, ), Raw( PartRaw { content: "{VARIABLE}`\n", span: Span { start: Position { line: 146, column: 1, }, end: Position { line: 150, column: 9, }, }, }, ), ], span: Span { start: Position { line: 145, column: 33, }, end: Position { line: 150, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 141, column: 34, }, end: Position { line: 151, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 42, column: 40, }, end: Position { line: 152, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 41, column: 13, }, end: Position { line: 153, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 155, column: 3, }, end: Position { line: 155, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 155, column: 12, }, end: Position { line: 155, column: 19, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 156, column: 6, }, end: Position { line: 156, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 156, column: 11, }, end: Position { line: 156, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 156, column: 15, }, end: Position { line: 156, column: 21, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 157, column: 7, }, end: Position { line: 157, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "singleton", span: Span { start: Position { line: 157, column: 20, }, end: Position { line: 157, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 158, column: 21, }, end: Position { line: 158, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configuration", span: Span { start: Position { line: 158, column: 25, }, end: Position { line: 158, column: 38, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 158, column: 42, }, end: Position { line: 158, column: 46, }, }, }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 158, column: 50, }, end: Position { line: 158, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configText", span: Span { start: Position { line: 158, column: 54, }, end: Position { line: 158, column: 64, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 158, column: 68, }, end: Position { line: 158, column: 72, }, }, }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "Can not enable alertmanager without a configuration. ", span: Span { start: Position { line: 159, column: 20, }, end: Position { line: 159, column: 73, }, }, }, ), ], span: Span { start: Position { line: 159, column: 19, }, end: Position { line: 159, column: 74, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "Set either the `configuration` or `configText` attribute.", span: Span { start: Position { line: 160, column: 13, }, end: Position { line: 160, column: 70, }, }, }, ), ], span: Span { start: Position { line: 160, column: 12, }, end: Position { line: 160, column: 71, }, }, }, ), }, ), }, ), ], span: Span { start: Position { line: 157, column: 30, }, end: Position { line: 161, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 156, column: 22, }, end: Position { line: 162, column: 6, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 163, column: 6, }, end: Position { line: 163, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 163, column: 11, }, end: Position { line: 163, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 163, column: 15, }, end: Position { line: 163, column: 21, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 164, column: 7, }, end: Position { line: 164, column: 17, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 164, column: 18, }, end: Position { line: 164, column: 26, }, }, }, ), Raw( PartRaw { content: "allowedTCPPorts", span: Span { start: Position { line: 164, column: 27, }, end: Position { line: 164, column: 42, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 164, column: 45, }, end: Position { line: 164, column: 53, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 164, column: 54, }, end: Position { line: 164, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 164, column: 58, }, end: Position { line: 164, column: 70, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 164, column: 71, }, end: Position { line: 164, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 164, column: 75, }, end: Position { line: 164, column: 79, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 166, column: 7, }, end: Position { line: 166, column: 14, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 166, column: 15, }, end: Position { line: 166, column: 23, }, }, }, ), Raw( PartRaw { content: "alertmanager", span: Span { start: Position { line: 166, column: 24, }, end: Position { line: 166, column: 36, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 167, column: 9, }, end: Position { line: 167, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 167, column: 23, }, end: Position { line: 167, column: 40, }, }, }, ), ], span: Span { start: Position { line: 167, column: 22, }, end: Position { line: 167, column: 41, }, }, }, ), ], span: Span { start: Position { line: 167, column: 20, }, end: Position { line: 167, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 168, column: 9, }, end: Position { line: 168, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network-online.target", span: Span { start: Position { line: 168, column: 23, }, end: Position { line: 168, column: 44, }, }, }, ), ], span: Span { start: Position { line: 168, column: 22, }, end: Position { line: 168, column: 45, }, }, }, ), ], span: Span { start: Position { line: 168, column: 20, }, end: Position { line: 168, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 169, column: 9, }, end: Position { line: 169, column: 17, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 170, column: 1, }, end: Position { line: 170, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 170, column: 14, }, end: Position { line: 170, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getBin", span: Span { start: Position { line: 170, column: 18, }, end: Position { line: 170, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 170, column: 25, }, end: Position { line: 170, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "envsubst", span: Span { start: Position { line: 170, column: 30, }, end: Position { line: 170, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "/bin/envsubst -o \"/tmp/alert-manager-substituted.yaml\" \\\n -i \"", span: Span { start: Position { line: 170, column: 1, }, end: Position { line: 171, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "alertmanagerYml", span: Span { start: Position { line: 171, column: 59, }, end: Position { line: 171, column: 74, }, }, }, ), }, ), Raw( PartRaw { content: "\"\n", span: Span { start: Position { line: 170, column: 1, }, end: Position { line: 172, column: 9, }, }, }, ), ], span: Span { start: Position { line: 169, column: 20, }, end: Position { line: 172, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 173, column: 9, }, end: Position { line: 173, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 174, column: 11, }, end: Position { line: 174, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 174, column: 23, }, end: Position { line: 174, column: 29, }, }, }, ), ], span: Span { start: Position { line: 174, column: 22, }, end: Position { line: 174, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 175, column: 11, }, end: Position { line: 175, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "alertmanager", span: Span { start: Position { line: 175, column: 29, }, end: Position { line: 175, column: 41, }, }, }, ), ], span: Span { start: Position { line: 175, column: 28, }, end: Position { line: 175, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 176, column: 11, }, end: Position { line: 176, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 176, column: 25, }, end: Position { line: 176, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "EnvironmentFile", span: Span { start: Position { line: 177, column: 11, }, end: Position { line: 177, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 177, column: 29, }, end: Position { line: 177, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 177, column: 33, }, end: Position { line: 177, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 177, column: 39, }, end: Position { line: 177, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environmentFile", span: Span { start: Position { line: 177, column: 43, }, end: Position { line: 177, column: 58, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 177, column: 62, }, end: Position { line: 177, column: 66, }, }, }, ), }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 177, column: 68, }, end: Position { line: 177, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environmentFile", span: Span { start: Position { line: 177, column: 72, }, end: Position { line: 177, column: 87, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 178, column: 11, }, end: Position { line: 178, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/tmp", span: Span { start: Position { line: 178, column: 31, }, end: Position { line: 178, column: 35, }, }, }, ), ], span: Span { start: Position { line: 178, column: 30, }, end: Position { line: 178, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 179, column: 11, }, end: Position { line: 179, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 179, column: 26, }, end: Position { line: 179, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 179, column: 30, }, end: Position { line: 179, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/alertmanager", span: Span { start: Position { line: 179, column: 24, }, end: Position { line: 179, column: 55, }, }, }, ), ], span: Span { start: Position { line: 179, column: 23, }, end: Position { line: 179, column: 56, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 180, column: 13, }, end: Position { line: 180, column: 27, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 180, column: 29, }, end: Position { line: 180, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "cmdlineArgs", span: Span { start: Position { line: 180, column: 36, }, end: Position { line: 180, column: 47, }, }, }, ), ], }, ), operator: NotEqualTo, right: Integer( Integer { value: "0", span: Span { start: Position { line: 180, column: 51, }, end: Position { line: 180, column: 52, }, }, }, ), }, ), BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 180, column: 56, }, end: Position { line: 180, column: 63, }, }, }, ), ], span: Span { start: Position { line: 180, column: 55, }, end: Position { line: 180, column: 64, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 181, column: 15, }, end: Position { line: 181, column: 31, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 181, column: 33, }, end: Position { line: 181, column: 40, }, }, }, ), ], span: Span { start: Position { line: 181, column: 32, }, end: Position { line: 181, column: 41, }, }, }, ), Identifier( Identifier { id: "cmdlineArgs", span: Span { start: Position { line: 181, column: 42, }, end: Position { line: 181, column: 53, }, }, }, ), ], }, ), }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecReload", span: Span { start: Position { line: 182, column: 11, }, end: Position { line: 182, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 182, column: 27, }, end: Position { line: 182, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 182, column: 32, }, end: Position { line: 182, column: 41, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/kill -HUP $MAINPID", span: Span { start: Position { line: 182, column: 25, }, end: Position { line: 182, column: 65, }, }, }, ), ], span: Span { start: Position { line: 182, column: 24, }, end: Position { line: 182, column: 66, }, }, }, ), }, ), ], span: Span { start: Position { line: 173, column: 25, }, end: Position { line: 183, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 166, column: 39, }, end: Position { line: 184, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 163, column: 22, }, end: Position { line: 185, column: 6, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 155, column: 20, }, end: Position { line: 186, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 31, column: 4, }, end: Position { line: 187, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 187, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 187, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 187, column: 2, }, }, }, )