Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 13, }, }, }, ), Raw( PartRaw { content: "pfix-srsd", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 12, column: 16, }, end: Position { line: 12, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 13, column: 19, }, end: Position { line: 13, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 14, column: 16, }, end: Position { line: 14, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 14, column: 22, }, end: Position { line: 14, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 15, column: 23, }, end: Position { line: 15, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 15, column: 27, }, end: Position { line: 15, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to run the postfix sender rewriting scheme daemon.", span: Span { start: Position { line: 15, column: 34, }, end: Position { line: 15, column: 92, }, }, }, ), ], span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 93, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 25, }, end: Position { line: 16, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "domain", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 18, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 19, column: 23, }, end: Position { line: 19, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 19, column: 27, }, end: Position { line: 19, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The domain for which to enable srs", span: Span { start: Position { line: 19, column: 34, }, end: Position { line: 19, column: 68, }, }, }, ), ], span: Span { start: Position { line: 19, column: 33, }, end: Position { line: 19, column: 69, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 16, }, end: Position { line: 20, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 20, column: 22, }, end: Position { line: 20, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "example.com", span: Span { start: Position { line: 21, column: 20, }, end: Position { line: 21, column: 31, }, }, }, ), ], span: Span { start: Position { line: 21, column: 19, }, end: Position { line: 21, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 22, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "secretsFile", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 24, column: 21, }, end: Position { line: 24, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 25, column: 23, }, end: Position { line: 25, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 25, column: 27, }, end: Position { line: 25, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The secret data used to encode the SRS address.\nto generate, use a command like:\n`for n in $(seq 5); do dd if=/dev/urandom count=1 bs=1024 status=none | sha256sum | sed 's/ -$//' | sed 's/^/ /'; done`\n", span: Span { start: Position { line: 26, column: 1, }, end: Position { line: 29, column: 9, }, }, }, ), ], span: Span { start: Position { line: 25, column: 33, }, end: Position { line: 29, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 30, column: 9, }, end: Position { line: 30, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 30, column: 16, }, end: Position { line: 30, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 30, column: 22, }, end: Position { line: 30, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/pfix-srsd/secrets", span: Span { start: Position { line: 31, column: 20, }, end: Position { line: 31, column: 46, }, }, }, ), ], span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 47, }, }, }, ), }, ), ], span: Span { start: Position { line: 24, column: 30, }, end: Position { line: 32, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 26, }, end: Position { line: 33, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 34, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 38, column: 12, }, end: Position { line: 38, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 38, column: 24, }, end: Position { line: 38, column: 32, }, }, }, ), Raw( PartRaw { content: "pfix-srsd", span: Span { start: Position { line: 38, column: 33, }, end: Position { line: 38, column: 42, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 38, column: 43, }, end: Position { line: 38, column: 49, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 21, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 40, column: 26, }, end: Position { line: 40, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pfixtools", span: Span { start: Position { line: 40, column: 31, }, end: Position { line: 40, column: 40, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 40, column: 24, }, end: Position { line: 40, column: 42, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 19, }, end: Position { line: 41, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 43, column: 13, }, end: Position { line: 43, column: 21, }, }, }, ), Raw( PartRaw { content: "pfix-srsd", span: Span { start: Position { line: 43, column: 22, }, end: Position { line: 43, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Postfix sender rewriting scheme daemon", span: Span { start: Position { line: 44, column: 22, }, end: Position { line: 44, column: 60, }, }, }, ), ], span: Span { start: Position { line: 44, column: 21, }, end: Position { line: 44, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "before", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 13, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "postfix.service", span: Span { start: Position { line: 45, column: 19, }, end: Position { line: 45, column: 34, }, }, }, ), ], span: Span { start: Position { line: 45, column: 18, }, end: Position { line: 45, column: 35, }, }, }, ), ], span: Span { start: Position { line: 45, column: 16, }, end: Position { line: 45, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requiredBy", span: Span { start: Position { line: 48, column: 7, }, end: Position { line: 48, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "postfix.service", span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 38, }, }, }, ), ], span: Span { start: Position { line: 48, column: 22, }, end: Position { line: 48, column: 39, }, }, }, ), ], span: Span { start: Position { line: 48, column: 20, }, end: Position { line: 48, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 50, column: 9, }, end: Position { line: 50, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "forking", span: Span { start: Position { line: 50, column: 17, }, end: Position { line: 50, column: 24, }, }, }, ), ], span: Span { start: Position { line: 50, column: 16, }, end: Position { line: 50, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PIDFile", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/pfix-srsd.pid", span: Span { start: Position { line: 51, column: 20, }, end: Position { line: 51, column: 38, }, }, }, ), ], span: Span { start: Position { line: 51, column: 19, }, end: Position { line: 51, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 52, column: 24, }, end: Position { line: 52, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pfixtools", span: Span { start: Position { line: 52, column: 29, }, end: Position { line: 52, column: 38, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/pfix-srsd -p /run/pfix-srsd.pid -I ", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 79, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 52, column: 81, }, end: Position { line: 52, column: 87, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 52, column: 88, }, end: Position { line: 52, column: 96, }, }, }, ), Raw( PartRaw { content: "pfix-srsd", span: Span { start: Position { line: 52, column: 97, }, end: Position { line: 52, column: 106, }, }, }, ), Raw( PartRaw { content: "domain", span: Span { start: Position { line: 52, column: 107, }, end: Position { line: 52, column: 113, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 115, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 52, column: 117, }, end: Position { line: 52, column: 123, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 52, column: 124, }, end: Position { line: 52, column: 132, }, }, }, ), Raw( PartRaw { content: "pfix-srsd", span: Span { start: Position { line: 52, column: 133, }, end: Position { line: 52, column: 142, }, }, }, ), Raw( PartRaw { content: "secretsFile", span: Span { start: Position { line: 52, column: 143, }, end: Position { line: 52, column: 154, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 52, column: 21, }, end: Position { line: 52, column: 156, }, }, }, ), }, ), ], span: Span { start: Position { line: 49, column: 23, }, end: Position { line: 53, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 43, column: 34, }, end: Position { line: 54, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 38, column: 50, }, end: Position { line: 55, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 56, column: 2, }, }, }, )