Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "etesync-dav", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 36, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 9, column: 21, }, }, }, ), Raw( PartRaw { content: "etesync-dav", span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 10, column: 16, }, end: Position { line: 10, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 10, column: 32, }, end: Position { line: 10, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 10, column: 36, }, end: Position { line: 10, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "etesync-dav", span: Span { start: Position { line: 10, column: 43, }, end: Position { line: 10, column: 54, }, }, }, ), ], span: Span { start: Position { line: 10, column: 42, }, end: Position { line: 10, column: 55, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 13, column: 16, }, end: Position { line: 13, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 13, column: 22, }, end: Position { line: 13, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 14, column: 20, }, end: Position { line: 14, column: 29, }, }, }, ), ], span: Span { start: Position { line: 14, column: 19, }, end: Position { line: 14, column: 30, }, }, }, ), }, ), 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: "The server host address.", span: Span { start: Position { line: 15, column: 34, }, end: Position { line: 15, column: 58, }, }, }, ), ], span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 59, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 16, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 18, column: 14, }, end: Position { line: 18, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 19, column: 22, }, end: Position { line: 19, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 16, }, }, }, ), ], to: Integer( Integer { value: "37358", span: Span { start: Position { line: 20, column: 19, }, end: Position { line: 20, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 21, column: 23, }, end: Position { line: 21, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 21, column: 27, }, end: Position { line: 21, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The server host port.", span: Span { start: Position { line: 21, column: 34, }, end: Position { line: 21, column: 55, }, }, }, ), ], span: Span { start: Position { line: 21, column: 33, }, end: Position { line: 21, column: 56, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 23, }, end: Position { line: 22, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apiUrl", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 25, column: 16, }, end: Position { line: 25, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 25, column: 22, }, end: Position { line: 25, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "https://api.etesync.com/", span: Span { start: Position { line: 26, column: 20, }, end: Position { line: 26, column: 44, }, }, }, ), ], span: Span { start: Position { line: 26, column: 19, }, end: Position { line: 26, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 27, column: 23, }, end: Position { line: 27, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 27, column: 27, }, end: Position { line: 27, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The url to the etesync API.", span: Span { start: Position { line: 27, column: 34, }, end: Position { line: 27, column: 61, }, }, }, ), ], span: Span { start: Position { line: 27, column: 33, }, end: Position { line: 27, column: 62, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 24, column: 25, }, end: Position { line: 28, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 30, column: 22, }, end: Position { line: 30, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 32, column: 16, }, end: Position { line: 32, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 32, column: 22, }, end: Position { line: 32, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 33, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 33, column: 27, }, end: Position { line: 33, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to open the firewall for the specified port.", span: Span { start: Position { line: 33, column: 34, }, end: Position { line: 33, column: 86, }, }, }, ), ], span: Span { start: Position { line: 33, column: 33, }, end: Position { line: 33, column: 87, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 30, column: 31, }, end: Position { line: 34, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sslCertificate", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 36, column: 24, }, end: Position { line: 36, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 37, column: 16, }, end: Position { line: 37, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 37, column: 22, }, end: Position { line: 37, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 37, column: 29, }, end: Position { line: 37, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 37, column: 35, }, end: Position { line: 37, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 38, column: 19, }, end: Position { line: 38, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/etesync.crt", span: Span { start: Position { line: 39, column: 20, }, end: Position { line: 39, column: 36, }, }, }, ), ], span: Span { start: Position { line: 39, column: 19, }, end: Position { line: 39, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 40, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 40, column: 27, }, end: Position { line: 40, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to server SSL certificate. It will be copied into\netesync-dav's data directory.\n", span: Span { start: Position { line: 41, column: 1, }, end: Position { line: 43, column: 9, }, }, }, ), ], span: Span { start: Position { line: 40, column: 33, }, end: Position { line: 43, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 36, column: 33, }, end: Position { line: 44, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sslCertificateKey", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 46, column: 27, }, end: Position { line: 46, column: 35, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 47, column: 16, }, end: Position { line: 47, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 47, column: 22, }, end: Position { line: 47, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 47, column: 29, }, end: Position { line: 47, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 47, column: 35, }, end: Position { line: 47, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 48, column: 19, }, end: Position { line: 48, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/etesync.key", span: Span { start: Position { line: 49, column: 20, }, end: Position { line: 49, column: 36, }, }, }, ), ], span: Span { start: Position { line: 49, column: 19, }, end: Position { line: 49, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 50, column: 9, }, end: Position { line: 50, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 50, column: 23, }, end: Position { line: 50, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 50, column: 27, }, end: Position { line: 50, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to server SSL certificate key. It will be copied into\netesync-dav's data directory.\n", span: Span { start: Position { line: 51, column: 1, }, end: Position { line: 53, column: 9, }, }, }, ), ], span: Span { start: Position { line: 50, column: 33, }, end: Position { line: 53, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 46, column: 36, }, end: Position { line: 54, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 36, }, end: Position { line: 55, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 57, column: 5, }, end: Position { line: 57, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 57, column: 14, }, end: Position { line: 57, column: 18, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 57, column: 19, }, end: Position { line: 57, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 57, column: 23, }, end: Position { line: 57, column: 29, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 58, column: 7, }, end: Position { line: 58, column: 17, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 58, column: 18, }, end: Position { line: 58, column: 26, }, }, }, ), Raw( PartRaw { content: "allowedTCPPorts", span: Span { start: Position { line: 58, column: 27, }, end: Position { line: 58, column: 42, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 58, column: 45, }, end: Position { line: 58, column: 49, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 58, column: 50, }, end: Position { line: 58, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 58, column: 54, }, end: Position { line: 58, column: 66, }, }, }, ), ], default: None, }, ), List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 58, column: 69, }, end: Position { line: 58, column: 72, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 58, column: 73, }, end: Position { line: 58, column: 77, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 58, column: 67, }, end: Position { line: 58, column: 79, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 60, column: 7, }, end: Position { line: 60, column: 14, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 60, column: 15, }, end: Position { line: 60, column: 23, }, }, }, ), Raw( PartRaw { content: "etesync-dav", span: Span { start: Position { line: 60, column: 24, }, end: Position { line: 60, column: 35, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "etesync-dav - A CalDAV and CardDAV adapter for EteSync", span: Span { start: Position { line: 61, column: 24, }, end: Position { line: 61, column: 78, }, }, }, ), ], span: Span { start: Position { line: 61, column: 23, }, end: Position { line: 61, column: 79, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network-online.target", span: Span { start: Position { line: 62, column: 20, }, end: Position { line: 62, column: 41, }, }, }, ), ], span: Span { start: Position { line: 62, column: 19, }, end: Position { line: 62, column: 42, }, }, }, ), ], span: Span { start: Position { line: 62, column: 17, }, end: Position { line: 62, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 63, column: 23, }, end: Position { line: 63, column: 40, }, }, }, ), ], span: Span { start: Position { line: 63, column: 22, }, end: Position { line: 63, column: 41, }, }, }, ), ], span: Span { start: Position { line: 63, column: 20, }, end: Position { line: 63, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 13, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 64, column: 18, }, end: Position { line: 64, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "etesync-dav", span: Span { start: Position { line: 64, column: 23, }, end: Position { line: 64, column: 34, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 64, column: 16, }, end: Position { line: 64, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ETESYNC_LISTEN_ADDRESS", span: Span { start: Position { line: 66, column: 11, }, end: Position { line: 66, column: 33, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 66, column: 36, }, end: Position { line: 66, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 66, column: 40, }, end: Position { line: 66, column: 44, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ETESYNC_LISTEN_PORT", span: Span { start: Position { line: 67, column: 11, }, end: Position { line: 67, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 67, column: 33, }, end: Position { line: 67, column: 41, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 67, column: 42, }, end: Position { line: 67, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 67, column: 46, }, end: Position { line: 67, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ETESYNC_URL", span: Span { start: Position { line: 68, column: 11, }, end: Position { line: 68, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 68, column: 25, }, end: Position { line: 68, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "apiUrl", span: Span { start: Position { line: 68, column: 29, }, end: Position { line: 68, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ETESYNC_DATA_DIR", span: Span { start: Position { line: 69, column: 11, }, end: Position { line: 69, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/etesync-dav", span: Span { start: Position { line: 69, column: 31, }, end: Position { line: 69, column: 51, }, }, }, ), ], span: Span { start: Position { line: 69, column: 30, }, end: Position { line: 69, column: 52, }, }, }, ), }, ), ], span: Span { start: Position { line: 65, column: 23, }, end: Position { line: 70, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 73, column: 11, }, end: Position { line: 73, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 73, column: 19, }, end: Position { line: 73, column: 25, }, }, }, ), ], span: Span { start: Position { line: 73, column: 18, }, end: Position { line: 73, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 74, column: 11, }, end: Position { line: 74, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 74, column: 25, }, end: Position { line: 74, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 75, column: 11, }, end: Position { line: 75, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "etesync-dav", span: Span { start: Position { line: 75, column: 29, }, end: Position { line: 75, column: 40, }, }, }, ), ], span: Span { start: Position { line: 75, column: 28, }, end: Position { line: 75, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 76, column: 11, }, end: Position { line: 76, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 76, column: 26, }, end: Position { line: 76, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "etesync-dav", span: Span { start: Position { line: 76, column: 31, }, end: Position { line: 76, column: 42, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/etesync-dav", span: Span { start: Position { line: 76, column: 24, }, end: Position { line: 76, column: 59, }, }, }, ), ], span: Span { start: Position { line: 76, column: 23, }, end: Position { line: 76, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStartPre", span: Span { start: Position { line: 77, column: 11, }, end: Position { line: 77, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 77, column: 26, }, end: Position { line: 77, column: 30, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 77, column: 32, }, end: Position { line: 77, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sslCertificate", span: Span { start: Position { line: 77, column: 36, }, end: Position { line: 77, column: 50, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 77, column: 54, }, end: Position { line: 77, column: 58, }, }, }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 77, column: 62, }, end: Position { line: 77, column: 65, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sslCertificateKey", span: Span { start: Position { line: 77, column: 66, }, end: Position { line: 77, column: 83, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 77, column: 87, }, end: Position { line: 77, column: 91, }, }, }, ), }, ), }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 78, column: 13, }, end: Position { line: 78, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writers", span: Span { start: Position { line: 78, column: 18, }, end: Position { line: 78, column: 25, }, }, }, ), Raw( PartRaw { content: "writeBash", span: Span { start: Position { line: 78, column: 26, }, end: Position { line: 78, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "etesync-dav-copy-keys", span: Span { start: Position { line: 78, column: 37, }, end: Position { line: 78, column: 58, }, }, }, ), ], span: Span { start: Position { line: 78, column: 36, }, end: Position { line: 78, column: 59, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 79, column: 1, }, end: Position { line: 79, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 79, column: 17, }, end: Position { line: 79, column: 31, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 79, column: 33, }, end: Position { line: 79, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sslCertificate", span: Span { start: Position { line: 79, column: 37, }, end: Position { line: 79, column: 51, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 79, column: 55, }, end: Position { line: 79, column: 59, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cp ", span: Span { start: Position { line: 80, column: 1, }, end: Position { line: 80, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 30, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 80, column: 31, }, end: Position { line: 80, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sslCertificate", span: Span { start: Position { line: 80, column: 35, }, end: Position { line: 80, column: 49, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " $STATE_DIRECTORY/etesync.crt\n", span: Span { start: Position { line: 80, column: 1, }, end: Position { line: 81, column: 15, }, }, }, ), ], span: Span { start: Position { line: 79, column: 61, }, end: Position { line: 81, column: 17, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 79, column: 1, }, end: Position { line: 82, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 82, column: 17, }, end: Position { line: 82, column: 31, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 82, column: 33, }, end: Position { line: 82, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sslCertificateKey", span: Span { start: Position { line: 82, column: 37, }, end: Position { line: 82, column: 54, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 82, column: 58, }, end: Position { line: 82, column: 62, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cp ", span: Span { start: Position { line: 83, column: 1, }, end: Position { line: 83, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 83, column: 22, }, end: Position { line: 83, column: 30, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 83, column: 31, }, end: Position { line: 83, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sslCertificateKey", span: Span { start: Position { line: 83, column: 35, }, end: Position { line: 83, column: 52, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " $STATE_DIRECTORY/etesync.key\n", span: Span { start: Position { line: 83, column: 1, }, end: Position { line: 84, column: 15, }, }, }, ), ], span: Span { start: Position { line: 82, column: 64, }, end: Position { line: 84, column: 17, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 79, column: 1, }, end: Position { line: 85, column: 13, }, }, }, ), ], span: Span { start: Position { line: 78, column: 60, }, end: Position { line: 85, column: 15, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 87, column: 11, }, end: Position { line: 87, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 87, column: 22, }, end: Position { line: 87, column: 32, }, }, }, ), ], span: Span { start: Position { line: 87, column: 21, }, end: Position { line: 87, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 88, column: 11, }, end: Position { line: 88, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "30min 1s", span: Span { start: Position { line: 88, column: 25, }, end: Position { line: 88, column: 33, }, }, }, ), ], span: Span { start: Position { line: 88, column: 24, }, end: Position { line: 88, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 72, column: 25, }, end: Position { line: 89, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 60, column: 38, }, end: Position { line: 90, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 57, column: 30, }, end: Position { line: 91, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 92, column: 4, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 92, column: 4, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 92, column: 4, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 92, column: 4, }, }, }, )