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: "restic", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 31, }, }, }, ), Raw( PartRaw { content: "server", span: Span { start: Position { line: 6, column: 32, }, end: Position { line: 6, column: 38, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 9, column: 8, }, end: Position { line: 9, column: 19, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 9, column: 24, }, end: Position { line: 9, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bachp", span: Span { start: Position { line: 9, column: 36, }, end: Position { line: 9, column: 41, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 11, column: 11, }, end: Position { line: 11, column: 19, }, }, }, ), Raw( PartRaw { content: "restic", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 26, }, }, }, ), Raw( PartRaw { content: "server", span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 11, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 30, }, end: Position { line: 12, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 12, column: 34, }, end: Position { line: 12, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Restic REST Server", span: Span { start: Position { line: 12, column: 41, }, end: Position { line: 12, column: 59, }, }, }, ), ], span: Span { start: Position { line: 12, column: 40, }, end: Position { line: 12, column: 60, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 14, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: ":8000", span: Span { start: Position { line: 15, column: 18, }, end: Position { line: 15, column: 23, }, }, }, ), ], span: Span { start: Position { line: 15, column: 17, }, end: Position { line: 15, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1:8080", span: Span { start: Position { line: 16, column: 18, }, end: Position { line: 16, column: 32, }, }, }, ), ], span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 14, }, end: Position { line: 17, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 17, column: 20, }, end: Position { line: 17, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Listen on a specific IP address and port.", span: Span { start: Position { line: 18, column: 32, }, end: Position { line: 18, column: 73, }, }, }, ), ], span: Span { start: Position { line: 18, column: 31, }, end: Position { line: 18, column: 74, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 30, }, end: Position { line: 19, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 21, column: 15, }, end: Position { line: 21, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/restic", span: Span { start: Position { line: 22, column: 18, }, end: Position { line: 22, column: 33, }, }, }, ), ], span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 14, }, end: Position { line: 23, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 23, column: 20, }, end: Position { line: 23, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 21, }, end: Position { line: 24, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 24, column: 25, }, end: Position { line: 24, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The directory for storing the restic repository.", span: Span { start: Position { line: 24, column: 32, }, end: Position { line: 24, column: 80, }, }, }, ), ], span: Span { start: Position { line: 24, column: 31, }, end: Position { line: 24, column: 81, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 21, column: 24, }, end: Position { line: 25, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "appendOnly", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 27, column: 18, }, end: Position { line: 27, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 28, column: 17, }, end: Position { line: 28, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 29, column: 14, }, end: Position { line: 29, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 29, column: 20, }, end: Position { line: 29, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 30, column: 21, }, end: Position { line: 30, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 30, column: 25, }, end: Position { line: 30, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable append only mode.\nThis mode allows creation of new backups but prevents deletion and modification of existing backups.\nThis can be useful when backing up systems that have a potential of being hacked.\n", span: Span { start: Position { line: 31, column: 1, }, end: Position { line: 34, column: 7, }, }, }, ), ], span: Span { start: Position { line: 30, column: 31, }, end: Position { line: 34, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 27, column: 27, }, end: Position { line: 35, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "privateRepos", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 37, column: 20, }, end: Position { line: 37, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 39, column: 14, }, end: Position { line: 39, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 39, column: 20, }, end: Position { line: 39, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 40, column: 21, }, end: Position { line: 40, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 40, column: 25, }, end: Position { line: 40, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable private repos.\nGrants access only when a subdirectory with the same name as the user is specified in the repository URL.\n", span: Span { start: Position { line: 41, column: 1, }, end: Position { line: 43, column: 7, }, }, }, ), ], span: Span { start: Position { line: 40, column: 31, }, end: Position { line: 43, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 29, }, end: Position { line: 44, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prometheus", span: Span { start: Position { line: 46, column: 5, }, end: Position { line: 46, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 46, column: 18, }, end: Position { line: 46, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 47, column: 17, }, end: Position { line: 47, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 48, column: 7, }, end: Position { line: 48, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 48, column: 14, }, end: Position { line: 48, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 48, column: 20, }, end: Position { line: 48, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 49, column: 21, }, end: Position { line: 49, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 49, column: 25, }, end: Position { line: 49, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Enable Prometheus metrics at /metrics.", span: Span { start: Position { line: 49, column: 32, }, end: Position { line: 49, column: 70, }, }, }, ), ], span: Span { start: Position { line: 49, column: 31, }, end: Position { line: 49, column: 71, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 46, column: 27, }, end: Position { line: 50, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 52, column: 18, }, end: Position { line: 52, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 53, column: 14, }, end: Position { line: 53, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 53, column: 20, }, end: Position { line: 53, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 53, column: 27, }, end: Position { line: 53, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 53, column: 33, }, end: Position { line: 53, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 14, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 54, column: 17, }, end: Position { line: 54, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 55, column: 7, }, end: Position { line: 55, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 55, column: 21, }, end: Position { line: 55, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 55, column: 25, }, end: Position { line: 55, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra commandline options to pass to Restic REST server.\n", span: Span { start: Position { line: 56, column: 1, }, end: Position { line: 57, column: 7, }, }, }, ), ], span: Span { start: Position { line: 55, column: 31, }, end: Position { line: 57, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 52, column: 27, }, end: Position { line: 58, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 60, column: 5, }, end: Position { line: 60, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 15, }, end: Position { line: 60, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 61, column: 17, }, end: Position { line: 61, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "restic-rest-server", span: Span { start: Position { line: 61, column: 22, }, end: Position { line: 61, column: 40, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.restic-rest-server", span: Span { start: Position { line: 62, column: 40, }, end: Position { line: 62, column: 63, }, }, }, ), ], span: Span { start: Position { line: 62, column: 39, }, end: Position { line: 62, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 63, column: 14, }, end: Position { line: 63, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 63, column: 20, }, end: Position { line: 63, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 64, column: 21, }, end: Position { line: 64, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 64, column: 25, }, end: Position { line: 64, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Restic REST server package to use.", span: Span { start: Position { line: 64, column: 32, }, end: Position { line: 64, column: 66, }, }, }, ), ], span: Span { start: Position { line: 64, column: 31, }, end: Position { line: 64, column: 67, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 60, column: 24, }, end: Position { line: 65, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 36, }, end: Position { line: 66, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 68, column: 3, }, end: Position { line: 68, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 68, column: 12, }, end: Position { line: 68, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 68, column: 17, }, end: Position { line: 68, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 68, column: 21, }, end: Position { line: 68, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 69, column: 5, }, end: Position { line: 69, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 69, column: 13, }, end: Position { line: 69, column: 21, }, }, }, ), Raw( PartRaw { content: "restic-rest-server", span: Span { start: Position { line: 69, column: 22, }, end: Position { line: 69, column: 40, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 70, column: 7, }, end: Position { line: 70, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Restic REST Server", span: Span { start: Position { line: 70, column: 22, }, end: Position { line: 70, column: 40, }, }, }, ), ], span: Span { start: Position { line: 70, column: 21, }, end: Position { line: 70, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 71, column: 7, }, end: Position { line: 71, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 71, column: 18, }, end: Position { line: 71, column: 32, }, }, }, ), ], span: Span { start: Position { line: 71, column: 17, }, end: Position { line: 71, column: 33, }, }, }, ), ], span: Span { start: Position { line: 71, column: 15, }, end: Position { line: 71, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 72, column: 21, }, end: Position { line: 72, column: 38, }, }, }, ), ], span: Span { start: Position { line: 72, column: 20, }, end: Position { line: 72, column: 39, }, }, }, ), ], span: Span { start: Position { line: 72, column: 18, }, end: Position { line: 72, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 75, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 75, column: 13, }, end: Position { line: 75, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 75, column: 17, }, end: Position { line: 75, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/rest-server \\\n--listen ", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 76, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 76, column: 22, }, end: Position { line: 76, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listenAddress", span: Span { start: Position { line: 76, column: 26, }, end: Position { line: 76, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n--path ", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 77, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 77, column: 20, }, end: Position { line: 77, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 77, column: 24, }, end: Position { line: 77, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 78, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 78, column: 13, }, end: Position { line: 78, column: 27, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 78, column: 28, }, end: Position { line: 78, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "appendOnly", span: Span { start: Position { line: 78, column: 32, }, end: Position { line: 78, column: 42, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--append-only", span: Span { start: Position { line: 78, column: 44, }, end: Position { line: 78, column: 57, }, }, }, ), ], span: Span { start: Position { line: 78, column: 43, }, end: Position { line: 78, column: 58, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 79, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 79, column: 13, }, end: Position { line: 79, column: 27, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 79, column: 28, }, end: Position { line: 79, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "privateRepos", span: Span { start: Position { line: 79, column: 32, }, end: Position { line: 79, column: 44, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--private-repos", span: Span { start: Position { line: 79, column: 46, }, end: Position { line: 79, column: 61, }, }, }, ), ], span: Span { start: Position { line: 79, column: 45, }, end: Position { line: 79, column: 62, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 80, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 80, column: 13, }, end: Position { line: 80, column: 27, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 80, column: 28, }, end: Position { line: 80, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prometheus", span: Span { start: Position { line: 80, column: 32, }, end: Position { line: 80, column: 42, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--prometheus", span: Span { start: Position { line: 80, column: 44, }, end: Position { line: 80, column: 56, }, }, }, ), ], span: Span { start: Position { line: 80, column: 43, }, end: Position { line: 80, column: 57, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 81, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArgs", span: Span { start: Position { line: 81, column: 13, }, end: Position { line: 81, column: 28, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 81, column: 29, }, end: Position { line: 81, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraFlags", span: Span { start: Position { line: 81, column: 33, }, end: Position { line: 81, column: 43, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 82, column: 9, }, }, }, ), ], span: Span { start: Position { line: 74, column: 21, }, end: Position { line: 82, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 83, column: 17, }, end: Position { line: 83, column: 23, }, }, }, ), ], span: Span { start: Position { line: 83, column: 16, }, end: Position { line: 83, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "restic", span: Span { start: Position { line: 84, column: 17, }, end: Position { line: 84, column: 23, }, }, }, ), ], span: Span { start: Position { line: 84, column: 16, }, end: Position { line: 84, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "restic", span: Span { start: Position { line: 85, column: 18, }, end: Position { line: 85, column: 24, }, }, }, ), ], span: Span { start: Position { line: 85, column: 17, }, end: Position { line: 85, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ReadWritePaths", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 23, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 88, column: 28, }, end: Position { line: 88, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 88, column: 32, }, end: Position { line: 88, column: 39, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 88, column: 26, }, end: Position { line: 88, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 89, column: 22, }, end: Position { line: 89, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectSystem", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "strict", span: Span { start: Position { line: 90, column: 26, }, end: Position { line: 90, column: 32, }, }, }, ), ], span: Span { start: Position { line: 90, column: 25, }, end: Position { line: 90, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelTunables", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 30, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 91, column: 33, }, end: Position { line: 91, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelModules", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 92, column: 32, }, end: Position { line: 92, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectControlGroups", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 93, column: 32, }, end: Position { line: 93, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateDevices", span: Span { start: Position { line: 94, column: 9, }, end: Position { line: 94, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 94, column: 26, }, end: Position { line: 94, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 73, column: 23, }, end: Position { line: 95, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 69, column: 43, }, end: Position { line: 96, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 98, column: 5, }, end: Position { line: 98, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 98, column: 13, }, end: Position { line: 98, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 98, column: 22, }, end: Position { line: 98, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 98, column: 30, }, end: Position { line: 98, column: 34, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 98, column: 35, }, end: Position { line: 98, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "privateRepos", span: Span { start: Position { line: 98, column: 39, }, end: Position { line: 98, column: 51, }, }, }, ), ], default: None, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "f ", span: Span { start: Position { line: 99, column: 10, }, end: Position { line: 99, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 99, column: 14, }, end: Position { line: 99, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 99, column: 18, }, end: Position { line: 99, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/.htpasswd 0700 restic restic -", span: Span { start: Position { line: 99, column: 10, }, end: Position { line: 99, column: 57, }, }, }, ), ], span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 58, }, }, }, ), ], span: Span { start: Position { line: 98, column: 52, }, end: Position { line: 100, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 102, column: 5, }, end: Position { line: 102, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 102, column: 11, }, end: Position { line: 102, column: 16, }, }, }, ), Raw( PartRaw { content: "restic", span: Span { start: Position { line: 102, column: 17, }, end: Position { line: 102, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "restic", span: Span { start: Position { line: 103, column: 16, }, end: Position { line: 103, column: 22, }, }, }, ), ], span: Span { start: Position { line: 103, column: 15, }, end: Position { line: 103, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 104, column: 7, }, end: Position { line: 104, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 104, column: 14, }, end: Position { line: 104, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 104, column: 18, }, end: Position { line: 104, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createHome", span: Span { start: Position { line: 105, column: 7, }, end: Position { line: 105, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 105, column: 20, }, end: Position { line: 105, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 106, column: 7, }, end: Position { line: 106, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 106, column: 13, }, end: Position { line: 106, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 106, column: 20, }, end: Position { line: 106, column: 23, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 106, column: 24, }, end: Position { line: 106, column: 28, }, }, }, ), Raw( PartRaw { content: "restic", span: Span { start: Position { line: 106, column: 29, }, end: Position { line: 106, column: 35, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 102, column: 26, }, end: Position { line: 107, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 109, column: 5, }, end: Position { line: 109, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 109, column: 11, }, end: Position { line: 109, column: 17, }, }, }, ), Raw( PartRaw { content: "restic", span: Span { start: Position { line: 109, column: 18, }, end: Position { line: 109, column: 24, }, }, }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 109, column: 25, }, end: Position { line: 109, column: 28, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 109, column: 31, }, end: Position { line: 109, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 109, column: 38, }, end: Position { line: 109, column: 41, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 109, column: 42, }, end: Position { line: 109, column: 46, }, }, }, ), Raw( PartRaw { content: "restic", span: Span { start: Position { line: 109, column: 47, }, end: Position { line: 109, column: 53, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 68, column: 28, }, end: Position { line: 110, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 111, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 111, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 111, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 111, column: 2, }, }, }, )