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: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 24, }, }, }, ), Raw( PartRaw { content: "metabase", span: Span { start: Position { line: 4, column: 25, }, end: Position { line: 4, column: 33, }, }, }, ), ], default: None, }, ), }, ), Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 6, column: 12, }, end: Position { line: 6, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "mkEnableOption", span: Span { start: Position { line: 6, column: 17, }, end: Position { line: 6, column: 31, }, }, }, ), Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 6, column: 32, }, end: Position { line: 6, column: 36, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 6, column: 37, }, end: Position { line: 6, column: 45, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 6, column: 46, }, }, }, ), Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 7, column: 12, }, end: Position { line: 7, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "optional", span: Span { start: Position { line: 7, column: 17, }, end: Position { line: 7, column: 25, }, }, }, ), Raw( PartRaw { content: "optionalAttrs", span: Span { start: Position { line: 7, column: 26, }, end: Position { line: 7, column: 39, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 7, column: 40, }, end: Position { line: 7, column: 45, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 7, column: 46, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/metabase", span: Span { start: Position { line: 9, column: 14, }, end: Position { line: 9, column: 31, }, }, }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 9, column: 32, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 13, }, }, }, ), Raw( PartRaw { content: "metabase", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 16, column: 16, }, end: Position { line: 16, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 32, }, end: Position { line: 16, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 16, column: 36, }, end: Position { line: 16, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Metabase service", span: Span { start: Position { line: 16, column: 43, }, end: Position { line: 16, column: 59, }, }, }, ), ], span: Span { start: Position { line: 16, column: 42, }, end: Position { line: 16, column: 60, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ip", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 19, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 11, }, end: Position { line: 20, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 18, }, end: Position { line: 20, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 20, column: 24, }, end: Position { line: 20, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 21, column: 11, }, end: Position { line: 21, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0.0.0.0", span: Span { start: Position { line: 21, column: 22, }, end: Position { line: 21, column: 29, }, }, }, ), ], span: Span { start: Position { line: 21, column: 21, }, end: Position { line: 21, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 22, column: 11, }, end: Position { line: 22, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 22, column: 25, }, end: Position { line: 22, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 22, column: 29, }, end: Position { line: 22, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "IP address that Metabase should listen on.\n", span: Span { start: Position { line: 23, column: 1, }, end: Position { line: 24, column: 11, }, }, }, ), ], span: Span { start: Position { line: 22, column: 35, }, end: Position { line: 24, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 23, }, end: Position { line: 25, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 27, column: 16, }, end: Position { line: 27, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 28, column: 11, }, end: Position { line: 28, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 28, column: 18, }, end: Position { line: 28, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 28, column: 24, }, end: Position { line: 28, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 29, column: 11, }, end: Position { line: 29, column: 18, }, }, }, ), ], to: Integer( Integer { value: "3000", span: Span { start: Position { line: 29, column: 21, }, end: Position { line: 29, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 30, column: 11, }, end: Position { line: 30, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 30, column: 25, }, end: Position { line: 30, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 30, column: 29, }, end: Position { line: 30, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Listen port for Metabase.\n", span: Span { start: Position { line: 31, column: 1, }, end: Position { line: 32, column: 11, }, }, }, ), ], span: Span { start: Position { line: 30, column: 35, }, end: Position { line: 32, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 27, column: 25, }, end: Position { line: 33, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 34, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ssl", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 38, column: 11, }, end: Position { line: 38, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 38, column: 18, }, end: Position { line: 38, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 38, column: 24, }, end: Position { line: 38, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 39, column: 11, }, end: Position { line: 39, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 39, column: 21, }, end: Position { line: 39, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 40, column: 11, }, end: Position { line: 40, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 40, column: 25, }, end: Position { line: 40, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 40, column: 29, }, end: Position { line: 40, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable SSL (https) support.\n", span: Span { start: Position { line: 41, column: 1, }, end: Position { line: 42, column: 11, }, }, }, ), ], span: Span { start: Position { line: 40, column: 35, }, end: Position { line: 42, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 27, }, end: Position { line: 43, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 45, column: 9, }, 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: 11, }, end: Position { line: 46, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 46, column: 18, }, end: Position { line: 46, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 46, column: 24, }, end: Position { line: 46, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 11, }, end: Position { line: 47, column: 18, }, }, }, ), ], to: Integer( Integer { value: "8443", span: Span { start: Position { line: 47, column: 21, }, end: Position { line: 47, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 48, column: 11, }, end: Position { line: 48, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 48, column: 25, }, end: Position { line: 48, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 48, column: 29, }, end: Position { line: 48, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Listen port over SSL (https) for Metabase.\n", span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 50, column: 11, }, }, }, ), ], span: Span { start: Position { line: 48, column: 35, }, end: Position { line: 50, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 25, }, end: Position { line: 51, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "keystore", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 53, column: 20, }, end: Position { line: 53, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 54, column: 11, }, end: Position { line: 54, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 54, column: 18, }, end: Position { line: 54, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 54, column: 24, }, end: Position { line: 54, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 54, column: 31, }, end: Position { line: 54, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 54, column: 37, }, end: Position { line: 54, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 55, column: 11, }, end: Position { line: 55, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dataDir", span: Span { start: Position { line: 55, column: 24, }, end: Position { line: 55, column: 31, }, }, }, ), }, ), Raw( PartRaw { content: "/metabase.jks", span: Span { start: Position { line: 55, column: 22, }, end: Position { line: 55, column: 45, }, }, }, ), ], span: Span { start: Position { line: 55, column: 21, }, end: Position { line: 55, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 56, column: 11, }, end: Position { line: 56, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/etc/secrets/keystore.jks", span: Span { start: Position { line: 56, column: 22, }, end: Position { line: 56, column: 47, }, }, }, ), ], span: Span { start: Position { line: 56, column: 21, }, end: Position { line: 56, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 57, column: 11, }, end: Position { line: 57, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 57, column: 25, }, end: Position { line: 57, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 57, column: 29, }, end: Position { line: 57, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[Java KeyStore](https://www.digitalocean.com/community/tutorials/java-keytool-essentials-working-with-java-keystores) file containing the certificates.\n", span: Span { start: Position { line: 58, column: 1, }, end: Position { line: 59, column: 11, }, }, }, ), ], span: Span { start: Position { line: 57, column: 35, }, end: Position { line: 59, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 53, column: 29, }, end: Position { line: 60, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 36, column: 13, }, end: Position { line: 62, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 64, column: 22, }, end: Position { line: 64, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 65, column: 16, }, end: Position { line: 65, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 65, column: 22, }, end: Position { line: 65, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 66, column: 19, }, end: Position { line: 66, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 67, column: 23, }, end: Position { line: 67, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 67, column: 27, }, end: Position { line: 67, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Open ports in the firewall for Metabase.\n", span: Span { start: Position { line: 68, column: 1, }, end: Position { line: 69, column: 9, }, }, }, ), ], span: Span { start: Position { line: 67, column: 33, }, end: Position { line: 69, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 64, column: 31, }, end: Position { line: 70, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 71, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 13, }, end: Position { line: 73, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 75, column: 3, }, end: Position { line: 75, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 75, column: 12, }, end: Position { line: 75, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 75, column: 17, }, end: Position { line: 75, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 75, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 77, column: 5, }, end: Position { line: 77, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 77, column: 13, }, end: Position { line: 77, column: 21, }, }, }, ), Raw( PartRaw { content: "metabase", span: Span { start: Position { line: 77, column: 22, }, end: Position { line: 77, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Metabase server", span: Span { start: Position { line: 78, column: 22, }, end: Position { line: 78, column: 37, }, }, }, ), ], span: Span { start: Position { line: 78, column: 21, }, end: Position { line: 78, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 79, column: 21, }, end: Position { line: 79, column: 38, }, }, }, ), ], span: Span { start: Position { line: 79, column: 20, }, end: Position { line: 79, column: 39, }, }, }, ), ], span: Span { start: Position { line: 79, column: 18, }, end: Position { line: 79, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network-online.target", span: Span { start: Position { line: 80, column: 18, }, end: Position { line: 80, column: 39, }, }, }, ), ], span: Span { start: Position { line: 80, column: 17, }, end: Position { line: 80, column: 40, }, }, }, ), ], span: Span { start: Position { line: 80, column: 15, }, end: Position { line: 80, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 81, column: 7, }, end: Position { line: 81, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MB_PLUGINS_DIR", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dataDir", span: Span { start: Position { line: 82, column: 29, }, end: Position { line: 82, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "/plugins", span: Span { start: Position { line: 82, column: 27, }, end: Position { line: 82, column: 45, }, }, }, ), ], span: Span { start: Position { line: 82, column: 26, }, end: Position { line: 82, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MB_DB_FILE", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dataDir", span: Span { start: Position { line: 83, column: 25, }, end: Position { line: 83, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: "/metabase.db", span: Span { start: Position { line: 83, column: 23, }, end: Position { line: 83, column: 45, }, }, }, ), ], span: Span { start: Position { line: 83, column: 22, }, end: Position { line: 83, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MB_JETTY_HOST", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 84, column: 25, }, end: Position { line: 84, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 84, column: 29, }, end: Position { line: 84, column: 35, }, }, }, ), Raw( PartRaw { content: "ip", span: Span { start: Position { line: 84, column: 36, }, end: Position { line: 84, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MB_JETTY_PORT", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 85, column: 25, }, end: Position { line: 85, column: 33, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 85, column: 34, }, end: Position { line: 85, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 85, column: 38, }, end: Position { line: 85, column: 44, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 85, column: 45, }, end: Position { line: 85, column: 49, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 81, column: 21, }, end: Position { line: 86, column: 8, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 86, column: 12, }, end: Position { line: 86, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 86, column: 27, }, end: Position { line: 86, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ssl", span: Span { start: Position { line: 86, column: 31, }, end: Position { line: 86, column: 34, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 86, column: 35, }, end: Position { line: 86, column: 41, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MB_JETTY_SSL", span: Span { start: Position { line: 87, column: 9, }, end: Position { line: 87, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 87, column: 24, }, end: Position { line: 87, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MB_JETTY_SSL_PORT", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 88, column: 29, }, end: Position { line: 88, column: 37, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 88, column: 38, }, end: Position { line: 88, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ssl", span: Span { start: Position { line: 88, column: 42, }, end: Position { line: 88, column: 45, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 88, column: 46, }, end: Position { line: 88, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MB_JETTY_SSL_KEYSTORE", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 30, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 89, column: 33, }, end: Position { line: 89, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ssl", span: Span { start: Position { line: 89, column: 37, }, end: Position { line: 89, column: 40, }, }, }, ), Raw( PartRaw { content: "keystore", span: Span { start: Position { line: 89, column: 41, }, end: Position { line: 89, column: 49, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 86, column: 43, }, end: Position { line: 90, column: 8, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 91, column: 7, }, end: Position { line: 91, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 92, column: 23, }, end: Position { line: 92, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "baseNameOf", span: Span { start: Position { line: 93, column: 26, }, end: Position { line: 93, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "dataDir", span: Span { start: Position { line: 93, column: 37, }, end: Position { line: 93, column: 44, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 94, column: 9, }, end: Position { line: 94, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 94, column: 24, }, end: Position { line: 94, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "metabase", span: Span { start: Position { line: 94, column: 29, }, end: Position { line: 94, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/metabase", span: Span { start: Position { line: 94, column: 22, }, end: Position { line: 94, column: 51, }, }, }, ), ], span: Span { start: Position { line: 94, column: 21, }, end: Position { line: 94, column: 52, }, }, }, ), }, ), ], span: Span { start: Position { line: 91, column: 23, }, end: Position { line: 95, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 77, column: 33, }, end: Position { line: 96, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 98, column: 5, }, end: Position { line: 98, column: 15, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 98, column: 16, }, end: Position { line: 98, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 98, column: 27, }, end: Position { line: 98, column: 31, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 98, column: 32, }, end: Position { line: 98, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 98, column: 36, }, end: Position { line: 98, column: 48, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowedTCPPorts", span: Span { start: Position { line: 99, column: 7, }, end: Position { line: 99, column: 22, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 99, column: 27, }, end: Position { line: 99, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 99, column: 31, }, end: Position { line: 99, column: 37, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 99, column: 38, }, end: Position { line: 99, column: 42, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 99, column: 25, }, end: Position { line: 99, column: 44, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 99, column: 48, }, end: Position { line: 99, column: 56, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 99, column: 57, }, end: Position { line: 99, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ssl", span: Span { start: Position { line: 99, column: 61, }, end: Position { line: 99, column: 64, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 99, column: 65, }, end: Position { line: 99, column: 71, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 99, column: 72, }, end: Position { line: 99, column: 75, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ssl", span: Span { start: Position { line: 99, column: 76, }, end: Position { line: 99, column: 79, }, }, }, ), Raw( PartRaw { content: "port", span: Span { start: Position { line: 99, column: 80, }, end: Position { line: 99, column: 84, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 98, column: 49, }, end: Position { line: 100, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 75, column: 28, }, end: Position { line: 102, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 4, }, end: Position { line: 103, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 103, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 103, column: 2, }, }, }, )