Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 4, column: 12, }, end: Position { line: 4, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "literalExpression", span: Span { start: Position { line: 4, column: 17, }, end: Position { line: 4, column: 34, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 4, column: 35, }, end: Position { line: 4, column: 43, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 4, column: 44, }, end: Position { line: 4, column: 49, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 4, column: 50, }, }, }, ), 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: "security", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 24, }, }, }, ), Raw( PartRaw { content: "dhparams", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 6, column: 17, }, end: Position { line: 6, column: 25, }, }, }, ), Raw( PartRaw { content: "dhparams", span: Span { start: Position { line: 6, column: 26, }, end: Position { line: 6, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bitType", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 13, }, end: Position { line: 8, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "addCheck", span: Span { start: Position { line: 8, column: 19, }, end: Position { line: 8, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 28, }, end: Position { line: 8, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 8, column: 34, }, end: Position { line: 8, column: 37, }, }, }, ), ], default: None, }, ), Function( Function { head: Simple( FunctionHeadSimple { identifier: "b", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "b", span: Span { start: Position { line: 8, column: 42, }, end: Position { line: 8, column: 43, }, }, }, ), operator: GreaterThanOrEqualTo, right: Integer( Integer { value: "16", span: Span { start: Position { line: 8, column: 47, }, end: Position { line: 8, column: 49, }, }, }, ), }, ), span: Span { start: Position { line: 8, column: 39, }, end: Position { line: 8, column: 49, }, }, }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 9, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "bits", span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 9, column: 17, }, }, }, ), ], span: Span { start: Position { line: 9, column: 12, }, end: Position { line: 9, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "integer of at least 16 bits", span: Span { start: Position { line: 10, column: 20, }, end: Position { line: 10, column: 47, }, }, }, ), ], span: Span { start: Position { line: 10, column: 19, }, end: Position { line: 10, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 54, }, end: Position { line: 11, column: 4, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paramsSubmodule", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 18, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 12, }, }, }, ), Raw( PartRaw { content: "bits", span: Span { start: Position { line: 14, column: 13, }, end: Position { line: 14, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 20, }, end: Position { line: 14, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "bitType", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "defaultBitSize", span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 17, column: 21, }, end: Position { line: 17, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config.", span: Span { start: Position { line: 17, column: 40, }, end: Position { line: 17, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 17, column: 49, }, end: Position { line: 17, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "defaultBitSize", span: Span { start: Position { line: 17, column: 53, }, end: Position { line: 17, column: 67, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 17, column: 39, }, end: Position { line: 17, column: 69, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The bit size for the prime that is used during a Diffie-Hellman\nkey exchange.\n", span: Span { start: Position { line: 19, column: 1, }, end: Position { line: 21, column: 7, }, }, }, ), ], span: Span { start: Position { line: 18, column: 31, }, end: Position { line: 21, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 29, }, end: Position { line: 22, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 12, }, }, }, ), Raw( PartRaw { content: "path", span: Span { start: Position { line: 24, column: 13, }, end: Position { line: 24, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 24, column: 20, }, end: Position { line: 24, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 25, column: 14, }, end: Position { line: 25, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 25, column: 20, }, end: Position { line: 25, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "readOnly", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 26, column: 18, }, end: Position { line: 26, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 27, column: 21, }, end: Position { line: 27, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 27, column: 25, }, end: Position { line: 27, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The resulting path of the generated Diffie-Hellman parameters\nfile for other services to reference. This could be either a\nstore path or a file inside the directory specified by\n{option}`security.dhparams.path`.\n", span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 32, column: 7, }, }, }, ), ], span: Span { start: Position { line: 27, column: 31, }, end: Position { line: 32, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 24, column: 29, }, end: Position { line: 33, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 35, column: 5, }, end: Position { line: 35, column: 11, }, }, }, ), Raw( PartRaw { content: "path", span: Span { start: Position { line: 35, column: 12, }, end: Position { line: 35, column: 16, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "generated", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 36, column: 19, }, end: Position { line: 36, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 36, column: 24, }, end: Position { line: 36, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "dhparams-", span: Span { start: Position { line: 36, column: 36, }, end: Position { line: 36, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 36, column: 47, }, end: Position { line: 36, column: 51, }, }, }, ), }, ), Raw( PartRaw { content: ".pem", span: Span { start: Position { line: 36, column: 36, }, end: Position { line: 36, column: 56, }, }, }, ), ], span: Span { start: Position { line: 36, column: 35, }, end: Position { line: 36, column: 57, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nativeBuildInputs", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 26, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 37, column: 31, }, end: Position { line: 37, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openssl", span: Span { start: Position { line: 37, column: 36, }, end: Position { line: 37, column: 43, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 37, column: 29, }, end: Position { line: 37, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 36, column: 58, }, end: Position { line: 38, column: 8, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "openssl dhparam -out \"$out\" ", span: Span { start: Position { line: 38, column: 10, }, end: Position { line: 38, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 38, column: 42, }, end: Position { line: 38, column: 50, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 38, column: 51, }, end: Position { line: 38, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bits", span: Span { start: Position { line: 38, column: 58, }, end: Position { line: 38, column: 62, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 64, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 39, column: 11, }, end: Position { line: 39, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateful", span: Span { start: Position { line: 39, column: 15, }, end: Position { line: 39, column: 23, }, }, }, ), ], default: None, }, ), then: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 39, column: 32, }, end: Position { line: 39, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 39, column: 36, }, end: Position { line: 39, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 39, column: 30, }, end: Position { line: 39, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 39, column: 44, }, end: Position { line: 39, column: 48, }, }, }, ), }, ), Raw( PartRaw { content: ".pem", span: Span { start: Position { line: 39, column: 30, }, end: Position { line: 39, column: 53, }, }, }, ), ], span: Span { start: Position { line: 39, column: 29, }, end: Position { line: 39, column: 54, }, }, }, ), else_: Identifier( Identifier { id: "generated", span: Span { start: Position { line: 39, column: 60, }, end: Position { line: 39, column: 69, }, }, }, ), span: Span { start: Position { line: 39, column: 8, }, end: Position { line: 39, column: 69, }, }, }, ), span: Span { start: Position { line: 35, column: 19, }, end: Position { line: 39, column: 69, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 44, }, end: Position { line: 40, column: 4, }, }, }, ), span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 40, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 43, column: 3, }, end: Position { line: 43, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 44, column: 5, }, end: Position { line: 44, column: 13, }, }, }, ), Raw( PartRaw { content: "dhparams", span: Span { start: Position { line: 44, column: 14, }, end: Position { line: 44, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 16, }, end: Position { line: 45, column: 24, }, }, }, ), 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: "bool", span: Span { start: Position { line: 46, column: 22, }, end: Position { line: 46, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 48, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to generate new DH params and clean up old DH params.\n", span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 50, column: 9, }, }, }, ), ], span: Span { start: Position { line: 48, column: 33, }, end: Position { line: 50, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 25, }, end: Position { line: 51, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "params", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 53, column: 16, }, end: Position { line: 53, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 26, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "coerce", span: Span { start: Position { line: 55, column: 11, }, end: Position { line: 55, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "bits", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "bits", span: Span { start: Position { line: 55, column: 36, }, end: Position { line: 55, column: 40, }, }, }, ), ], span: Span { start: Position { line: 55, column: 27, }, end: Position { line: 55, column: 41, }, }, }, ), ], span: Span { start: Position { line: 55, column: 26, }, end: Position { line: 55, column: 43, }, }, }, ), span: Span { start: Position { line: 55, column: 20, }, end: Position { line: 55, column: 43, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 56, column: 12, }, end: Position { line: 56, column: 19, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "coercedTo", span: Span { start: Position { line: 56, column: 21, }, end: Position { line: 56, column: 30, }, }, }, ), arguments: [ Identifier( Identifier { id: "int", span: Span { start: Position { line: 56, column: 31, }, end: Position { line: 56, column: 34, }, }, }, ), Identifier( Identifier { id: "coerce", span: Span { start: Position { line: 56, column: 35, }, end: Position { line: 56, column: 41, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 56, column: 43, }, end: Position { line: 56, column: 52, }, }, }, ), arguments: [ Identifier( Identifier { id: "paramsSubmodule", span: Span { start: Position { line: 56, column: 53, }, end: Position { line: 56, column: 68, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 54, column: 28, }, end: Position { line: 56, column: 70, }, }, }, ), span: Span { start: Position { line: 54, column: 16, }, end: Position { line: 56, column: 70, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 57, column: 19, }, end: Position { line: 57, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 58, column: 19, }, end: Position { line: 58, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "literalExpression", span: Span { start: Position { line: 58, column: 23, }, end: Position { line: 58, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "{ nginx.bits = 3072; }", span: Span { start: Position { line: 58, column: 42, }, end: Position { line: 58, column: 64, }, }, }, ), ], span: Span { start: Position { line: 58, column: 41, }, end: Position { line: 58, column: 65, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 59, column: 23, }, end: Position { line: 59, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 59, column: 27, }, end: Position { line: 59, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Diffie-Hellman parameters to generate.\n\nThe value is the size (in bits) of the DH params to generate. The\ngenerated DH params path can be found in\n`config.security.dhparams.params.«name».path`.\n\n::: {.note}\nThe name of the DH params is taken as being the name of\nthe service it serves and the params will be generated before the\nsaid service is started.\n:::\n\n::: {.warning}\nIf you are removing all dhparams from this list, you\nhave to leave {option}`security.dhparams.enable` for at\nleast one activation in order to have them be cleaned up. This also\nmeans if you rollback to a version without any dhparams the\nexisting ones won't be cleaned up. Of course this only applies if\n{option}`security.dhparams.stateful` is\n`true`.\n:::\n\n::: {.note}\n**For module implementers:** It's recommended\nto not set a specific bit size here, so that users can easily\noverride this by setting\n{option}`security.dhparams.defaultBitSize`.\n:::\n", span: Span { start: Position { line: 60, column: 1, }, end: Position { line: 88, column: 9, }, }, }, ), ], span: Span { start: Position { line: 59, column: 33, }, end: Position { line: 88, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 53, column: 25, }, end: Position { line: 89, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "stateful", span: Span { start: Position { line: 91, column: 7, }, end: Position { line: 91, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 91, column: 18, }, end: Position { line: 91, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 92, column: 16, }, end: Position { line: 92, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 92, column: 22, }, end: Position { line: 92, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 93, column: 19, }, end: Position { line: 93, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 94, column: 9, }, end: Position { line: 94, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 94, column: 23, }, end: Position { line: 94, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 94, column: 27, }, end: Position { line: 94, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether generation of Diffie-Hellman parameters should be stateful or\nnot. If this is enabled, PEM-encoded files for Diffie-Hellman\nparameters are placed in the directory specified by\n{option}`security.dhparams.path`. Otherwise the files are\ncreated within the Nix store.\n\n::: {.note}\nIf this is `false` the resulting store\npath will be non-deterministic and will be rebuilt every time the\n`openssl` package changes.\n:::\n", span: Span { start: Position { line: 95, column: 1, }, end: Position { line: 106, column: 9, }, }, }, ), ], span: Span { start: Position { line: 94, column: 33, }, end: Position { line: 106, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 91, column: 27, }, end: Position { line: 107, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultBitSize", span: Span { start: Position { line: 109, column: 7, }, end: Position { line: 109, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 109, column: 24, }, end: Position { line: 109, column: 32, }, }, }, ), 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: Identifier( Identifier { id: "bitType", span: Span { start: Position { line: 110, column: 16, }, end: Position { line: 110, column: 23, }, }, }, ), }, ), 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: "2048", 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: "This allows to override the default bit size for all of the\nDiffie-Hellman parameters set in\n{option}`security.dhparams.params`.\n", span: Span { start: Position { line: 113, column: 1, }, end: Position { line: 116, column: 9, }, }, }, ), ], span: Span { start: Position { line: 112, column: 33, }, end: Position { line: 116, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 109, column: 33, }, end: Position { line: 117, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 119, column: 14, }, end: Position { line: 119, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 120, column: 16, }, end: Position { line: 120, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 120, column: 22, }, end: Position { line: 120, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 121, column: 9, }, end: Position { line: 121, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/dhparams", span: Span { start: Position { line: 121, column: 20, }, end: Position { line: 121, column: 37, }, }, }, ), ], span: Span { start: Position { line: 121, column: 19, }, end: Position { line: 121, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 122, column: 9, }, end: Position { line: 122, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 122, column: 23, }, end: Position { line: 122, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 122, column: 27, }, end: Position { line: 122, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to the directory in which Diffie-Hellman parameters will be\nstored. This only is relevant if\n{option}`security.dhparams.stateful` is\n`true`.\n", span: Span { start: Position { line: 123, column: 1, }, end: Position { line: 127, column: 9, }, }, }, ), ], span: Span { start: Position { line: 122, column: 33, }, end: Position { line: 127, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 119, column: 23, }, end: Position { line: 128, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 44, column: 25, }, end: Position { line: 129, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 43, column: 13, }, end: Position { line: 130, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 132, column: 3, }, end: Position { line: 132, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 132, column: 12, }, end: Position { line: 132, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 132, column: 16, }, end: Position { line: 132, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 132, column: 22, }, end: Position { line: 132, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 132, column: 26, }, end: Position { line: 132, column: 32, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 132, column: 36, }, end: Position { line: 132, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateful", span: Span { start: Position { line: 132, column: 40, }, end: Position { line: 132, column: 48, }, }, }, ), ], default: None, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 133, column: 5, }, end: Position { line: 133, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 133, column: 13, }, end: Position { line: 133, column: 21, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dhparams-init", span: Span { start: Position { line: 134, column: 7, }, end: Position { line: 134, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 135, column: 9, }, end: Position { line: 135, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Clean Up Old Diffie-Hellman Parameters", span: Span { start: Position { line: 135, column: 24, }, end: Position { line: 135, column: 62, }, }, }, ), ], span: Span { start: Position { line: 135, column: 23, }, end: Position { line: 135, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 138, column: 9, }, end: Position { line: 138, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 138, column: 23, }, end: Position { line: 138, column: 40, }, }, }, ), ], span: Span { start: Position { line: 138, column: 22, }, end: Position { line: 138, column: 41, }, }, }, ), ], span: Span { start: Position { line: 138, column: 20, }, end: Position { line: 138, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 140, column: 9, }, end: Position { line: 140, column: 22, }, }, }, ), Raw( PartRaw { content: "RemainAfterExit", span: Span { start: Position { line: 140, column: 23, }, end: Position { line: 140, column: 38, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 140, column: 41, }, end: Position { line: 140, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 22, }, }, }, ), Raw( PartRaw { content: "Type", span: Span { start: Position { line: 141, column: 23, }, end: Position { line: 141, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 141, column: 31, }, end: Position { line: 141, column: 38, }, }, }, ), ], span: Span { start: Position { line: 141, column: 30, }, end: Position { line: 141, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if [ ! -d ", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 144, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 144, column: 23, }, end: Position { line: 144, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 144, column: 27, }, end: Position { line: 144, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ]; then\n mkdir -p ", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 145, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 145, column: 24, }, end: Position { line: 145, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 145, column: 28, }, end: Position { line: 145, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nfi\n\n# Remove old dhparams\nfor file in ", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 149, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 149, column: 25, }, end: Position { line: 149, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 149, column: 29, }, end: Position { line: 149, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/*; do\n if [ ! -f \"$file\" ]; then\n continue\n fi\n ", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 153, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 153, column: 15, }, end: Position { line: 153, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStrings", span: Span { start: Position { line: 153, column: 19, }, end: Position { line: 153, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 153, column: 34, }, end: Position { line: 153, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 153, column: 38, }, end: Position { line: 153, column: 52, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "bits", default: None, }, FunctionHeadDestructuredArgument { identifier: "path", default: None, }, ], }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if [ \"$file\" = ", span: Span { start: Position { line: 154, column: 1, }, end: Position { line: 154, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 154, column: 32, }, end: Position { line: 154, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 154, column: 36, }, end: Position { line: 154, column: 50, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 154, column: 51, }, end: Position { line: 154, column: 55, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " ] && \\\n ", span: Span { start: Position { line: 154, column: 1, }, end: Position { line: 155, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 155, column: 20, }, end: Position { line: 155, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openssl", span: Span { start: Position { line: 155, column: 25, }, end: Position { line: 155, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/openssl dhparam -in \"$file\" -text \\\n | head -n 1 | grep \"(", span: Span { start: Position { line: 154, column: 1, }, end: Position { line: 156, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 156, column: 41, }, end: Position { line: 156, column: 49, }, }, }, ), arguments: [ Identifier( Identifier { id: "bits", span: Span { start: Position { line: 156, column: 50, }, end: Position { line: 156, column: 54, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " bit)\" > /dev/null; then\n continue\nfi\n", span: Span { start: Position { line: 154, column: 1, }, end: Position { line: 159, column: 13, }, }, }, ), ], span: Span { start: Position { line: 153, column: 81, }, end: Position { line: 159, column: 15, }, }, }, ), span: Span { start: Position { line: 153, column: 60, }, end: Position { line: 159, column: 15, }, }, }, ), span: Span { start: Position { line: 153, column: 54, }, end: Position { line: 159, column: 15, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 159, column: 17, }, end: Position { line: 159, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "params", span: Span { start: Position { line: 159, column: 21, }, end: Position { line: 159, column: 27, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n rm $file\ndone\n\n# TODO: Ideally this would be removing the *former* cfg.path, though\n# this does not seem really important as changes to it are quite\n# unlikely\nrmdir --ignore-fail-on-non-empty ", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 166, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 166, column: 46, }, end: Position { line: 166, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 166, column: 50, }, end: Position { line: 166, column: 54, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 167, column: 9, }, }, }, ), ], span: Span { start: Position { line: 143, column: 18, }, end: Position { line: 167, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 134, column: 23, }, end: Position { line: 168, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 133, column: 24, }, end: Position { line: 169, column: 6, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 169, column: 10, }, end: Position { line: 169, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrs'", span: Span { start: Position { line: 169, column: 14, }, end: Position { line: 169, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "bits", default: None, }, FunctionHeadDestructuredArgument { identifier: "path", default: None, }, ], }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 169, column: 52, }, end: Position { line: 169, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nameValuePair", span: Span { start: Position { line: 169, column: 56, }, end: Position { line: 169, column: 69, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "dhparams-gen-", span: Span { start: Position { line: 169, column: 71, }, end: Position { line: 169, column: 91, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 169, column: 86, }, end: Position { line: 169, column: 90, }, }, }, ), }, ), ], span: Span { start: Position { line: 169, column: 70, }, end: Position { line: 169, column: 92, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 170, column: 7, }, end: Position { line: 170, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Generate Diffie-Hellman Parameters for ", span: Span { start: Position { line: 170, column: 22, }, end: Position { line: 170, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 170, column: 63, }, end: Position { line: 170, column: 67, }, }, }, ), }, ), ], span: Span { start: Position { line: 170, column: 21, }, end: Position { line: 170, column: 69, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 171, column: 7, }, end: Position { line: 171, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "dhparams-init.service", span: Span { start: Position { line: 171, column: 18, }, end: Position { line: 171, column: 39, }, }, }, ), ], span: Span { start: Position { line: 171, column: 17, }, end: Position { line: 171, column: 40, }, }, }, ), ], span: Span { start: Position { line: 171, column: 15, }, end: Position { line: 171, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "before", span: Span { start: Position { line: 172, column: 7, }, end: Position { line: 172, column: 13, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 172, column: 21, }, end: Position { line: 172, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: ".service", span: Span { start: Position { line: 172, column: 19, }, end: Position { line: 172, column: 34, }, }, }, ), ], span: Span { start: Position { line: 172, column: 18, }, end: Position { line: 172, column: 35, }, }, }, ), ], span: Span { start: Position { line: 172, column: 16, }, end: Position { line: 172, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 173, column: 7, }, end: Position { line: 173, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 173, column: 21, }, end: Position { line: 173, column: 38, }, }, }, ), ], span: Span { start: Position { line: 173, column: 20, }, end: Position { line: 173, column: 39, }, }, }, ), ], span: Span { start: Position { line: 173, column: 18, }, end: Position { line: 173, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 174, column: 7, }, end: Position { line: 174, column: 17, }, }, }, ), Raw( PartRaw { content: "ConditionPathExists", span: Span { start: Position { line: 174, column: 18, }, end: Position { line: 174, column: 37, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "!", span: Span { start: Position { line: 174, column: 41, }, end: Position { line: 174, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "path", span: Span { start: Position { line: 174, column: 44, }, end: Position { line: 174, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 174, column: 40, }, end: Position { line: 174, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 175, column: 7, }, end: Position { line: 175, column: 20, }, }, }, ), Raw( PartRaw { content: "Type", span: Span { start: Position { line: 175, column: 21, }, end: Position { line: 175, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 175, column: 29, }, end: Position { line: 175, column: 36, }, }, }, ), ], span: Span { start: Position { line: 175, column: 28, }, end: Position { line: 175, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 176, column: 7, }, end: Position { line: 176, column: 13, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p ", span: Span { start: Position { line: 177, column: 1, }, end: Position { line: 177, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 177, column: 20, }, end: Position { line: 177, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 177, column: 24, }, end: Position { line: 177, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ 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: "path", span: Span { start: Position { line: 177, column: 43, }, end: Position { line: 177, column: 47, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 177, column: 1, }, end: Position { line: 178, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 178, column: 11, }, end: Position { line: 178, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openssl", span: Span { start: Position { line: 178, column: 16, }, end: Position { line: 178, column: 23, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/openssl dhparam -out ", span: Span { start: Position { line: 177, column: 1, }, end: Position { line: 178, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 178, column: 52, }, end: Position { line: 178, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 178, column: 56, }, end: Position { line: 178, column: 70, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 178, column: 71, }, end: Position { line: 178, column: 75, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 177, column: 1, }, end: Position { line: 179, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 179, column: 13, }, end: Position { line: 179, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "bits", span: Span { start: Position { line: 179, column: 22, }, end: Position { line: 179, column: 26, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 177, column: 1, }, end: Position { line: 180, column: 7, }, }, }, ), ], span: Span { start: Position { line: 176, column: 16, }, end: Position { line: 180, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 169, column: 93, }, end: Position { line: 181, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 169, column: 31, }, end: Position { line: 181, column: 6, }, }, }, ), span: Span { start: Position { line: 169, column: 25, }, end: Position { line: 181, column: 6, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 8, }, end: Position { line: 181, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "params", span: Span { start: Position { line: 181, column: 12, }, end: Position { line: 181, column: 18, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 132, column: 50, }, end: Position { line: 182, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 184, column: 3, }, end: Position { line: 184, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 184, column: 8, }, end: Position { line: 184, column: 19, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 184, column: 27, }, end: Position { line: 184, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 184, column: 31, }, end: Position { line: 184, column: 42, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ Identifier( Identifier { id: "ekleog", span: Span { start: Position { line: 184, column: 46, }, end: Position { line: 184, column: 52, }, }, }, ), ], span: Span { start: Position { line: 184, column: 44, }, end: Position { line: 184, column: 54, }, }, }, ), span: Span { start: Position { line: 184, column: 22, }, end: Position { line: 184, column: 54, }, }, }, ), }, ), ], span: Span { start: Position { line: 42, column: 4, }, end: Position { line: 185, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 185, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 185, column: 2, }, }, }, )