Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", 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: "dataDir", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/mautrix-telegram", span: Span { start: Position { line: 6, column: 14, }, end: Position { line: 6, column: 39, }, }, }, ), ], span: Span { start: Position { line: 6, column: 13, }, end: Position { line: 6, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "registrationFile", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dataDir", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: "/telegram-registration.yaml", span: Span { start: Position { line: 7, column: 23, }, end: Position { line: 7, column: 60, }, }, }, ), ], span: Span { start: Position { line: 7, column: 22, }, end: Position { line: 7, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 8, column: 9, }, end: Position { line: 8, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 8, column: 16, }, end: Position { line: 8, column: 24, }, }, }, ), Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 8, column: 25, }, end: Position { line: 8, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settingsFormat", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 9, column: 20, }, end: Position { line: 9, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 9, column: 25, }, end: Position { line: 9, column: 32, }, }, }, ), Raw( PartRaw { content: "json", span: Span { start: Position { line: 9, column: 33, }, end: Position { line: 9, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 9, column: 38, }, end: Position { line: 9, column: 40, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settingsFileUnsubstituted", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "settingsFormat", span: Span { start: Position { line: 10, column: 31, }, end: Position { line: 10, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "generate", span: Span { start: Position { line: 10, column: 46, }, end: Position { line: 10, column: 54, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "mautrix-telegram-config-unsubstituted.json", span: Span { start: Position { line: 10, column: 56, }, end: Position { line: 10, column: 98, }, }, }, ), ], span: Span { start: Position { line: 10, column: 55, }, end: Position { line: 10, column: 99, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 10, column: 100, }, end: Position { line: 10, column: 103, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 10, column: 104, }, end: Position { line: 10, column: 112, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settingsFile", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dataDir", span: Span { start: Position { line: 11, column: 21, }, end: Position { line: 11, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: "/config.json", span: Span { start: Position { line: 11, column: 19, }, end: Position { line: 11, column: 41, }, }, }, ), ], span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 42, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, 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: "mautrix-telegram", span: Span { start: Position { line: 15, column: 14, }, end: Position { line: 15, column: 30, }, }, }, ), ], 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: "Mautrix-Telegram, a Matrix-Telegram hybrid puppeting/relaybot bridge", span: Span { start: Position { line: 16, column: 43, }, end: Position { line: 16, column: 111, }, }, }, ), ], span: Span { start: Position { line: 16, column: 42, }, end: Position { line: 16, column: 112, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 18, column: 18, }, end: Position { line: 18, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recursiveUpdate", span: Span { start: Position { line: 19, column: 17, }, end: Position { line: 19, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "default", span: Span { start: Position { line: 19, column: 33, }, end: Position { line: 19, column: 40, }, }, }, ), ], }, ), }, ), Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "settingsFormat", span: Span { start: Position { line: 20, column: 18, }, end: Position { line: 20, column: 32, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 34, }, end: Position { line: 20, column: 38, }, }, }, ), ], span: Span { start: Position { line: 18, column: 32, }, end: Position { line: 20, column: 39, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "homeserver", span: Span { start: Position { line: 22, column: 11, }, end: Position { line: 22, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "software", span: Span { start: Position { line: 23, column: 13, }, end: Position { line: 23, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "standard", span: Span { start: Position { line: 23, column: 25, }, end: Position { line: 23, column: 33, }, }, }, ), ], span: Span { start: Position { line: 23, column: 24, }, end: Position { line: 23, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 22, column: 24, }, end: Position { line: 24, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "appservice", span: Span { start: Position { line: 26, column: 11, }, end: Position { line: 26, column: 21, }, }, }, ), ], to: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 27, column: 13, }, end: Position { line: 27, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "sqlite:///", span: Span { start: Position { line: 27, column: 25, }, end: Position { line: 27, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dataDir", span: Span { start: Position { line: 27, column: 37, }, end: Position { line: 27, column: 44, }, }, }, ), }, ), Raw( PartRaw { content: "/mautrix-telegram.db", span: Span { start: Position { line: 27, column: 25, }, end: Position { line: 27, column: 65, }, }, }, ), ], span: Span { start: Position { line: 27, column: 24, }, end: Position { line: 27, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "database_opts", span: Span { start: Position { line: 28, column: 13, }, end: Position { line: 28, column: 26, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 28, column: 29, }, end: Position { line: 28, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hostname", span: Span { start: Position { line: 29, column: 13, }, end: Position { line: 29, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0.0.0.0", span: Span { start: Position { line: 29, column: 25, }, end: Position { line: 29, column: 32, }, }, }, ), ], span: Span { start: Position { line: 29, column: 24, }, end: Position { line: 29, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 30, column: 13, }, end: Position { line: 30, column: 17, }, }, }, ), ], to: Integer( Integer { value: "8080", span: Span { start: Position { line: 30, column: 20, }, end: Position { line: 30, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "address", span: Span { start: Position { line: 31, column: 13, }, end: Position { line: 31, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://localhost:", span: Span { start: Position { line: 31, column: 24, }, end: Position { line: 31, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 31, column: 43, }, end: Position { line: 31, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "port", span: Span { start: Position { line: 31, column: 52, }, end: Position { line: 31, column: 56, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 31, column: 23, }, end: Position { line: 31, column: 58, }, }, }, ), }, ), ], span: Span { start: Position { line: 26, column: 24, }, end: Position { line: 32, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bridge", span: Span { start: Position { line: 34, column: 11, }, end: Position { line: 34, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "permissions", span: Span { start: Position { line: 35, column: 13, }, end: Position { line: 35, column: 24, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "*", span: Span { start: Position { line: 35, column: 26, }, end: Position { line: 35, column: 27, }, }, }, ), ], span: Span { start: Position { line: 35, column: 25, }, end: Position { line: 35, column: 28, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "relaybot", span: Span { start: Position { line: 35, column: 32, }, end: Position { line: 35, column: 40, }, }, }, ), ], span: Span { start: Position { line: 35, column: 31, }, end: Position { line: 35, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "relaybot", span: Span { start: Position { line: 36, column: 13, }, end: Position { line: 36, column: 21, }, }, }, ), Raw( PartRaw { content: "whitelist", span: Span { start: Position { line: 36, column: 22, }, end: Position { line: 36, column: 31, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 36, column: 34, }, end: Position { line: 36, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "double_puppet_server_map", span: Span { start: Position { line: 37, column: 13, }, end: Position { line: 37, column: 37, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 37, column: 40, }, end: Position { line: 37, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "login_shared_secret_map", span: Span { start: Position { line: 38, column: 13, }, end: Position { line: 38, column: 36, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 38, column: 39, }, end: Position { line: 38, column: 41, }, }, }, ), }, ), ], span: Span { start: Position { line: 34, column: 20, }, end: Position { line: 39, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logging", span: Span { start: Position { line: 41, column: 11, }, end: Position { line: 41, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "version", span: Span { start: Position { line: 42, column: 13, }, end: Position { line: 42, column: 20, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 42, column: 23, }, end: Position { line: 42, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "formatters", span: Span { start: Position { line: 44, column: 13, }, end: Position { line: 44, column: 23, }, }, }, ), Raw( PartRaw { content: "precise", span: Span { start: Position { line: 44, column: 24, }, end: Position { line: 44, column: 31, }, }, }, ), Raw( PartRaw { content: "format", span: Span { start: Position { line: 44, column: 32, }, end: Position { line: 44, column: 38, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "[%(levelname)s@%(name)s] %(message)s", span: Span { start: Position { line: 44, column: 42, }, end: Position { line: 44, column: 78, }, }, }, ), ], span: Span { start: Position { line: 44, column: 41, }, end: Position { line: 44, column: 79, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "handlers", span: Span { start: Position { line: 46, column: 13, }, end: Position { line: 46, column: 21, }, }, }, ), Raw( PartRaw { content: "console", span: Span { start: Position { line: 46, column: 22, }, end: Position { line: 46, column: 29, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "class", span: Span { start: Position { line: 47, column: 15, }, end: Position { line: 47, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "logging.StreamHandler", span: Span { start: Position { line: 47, column: 24, }, end: Position { line: 47, column: 45, }, }, }, ), ], span: Span { start: Position { line: 47, column: 23, }, end: Position { line: 47, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "formatter", span: Span { start: Position { line: 48, column: 15, }, end: Position { line: 48, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "precise", span: Span { start: Position { line: 48, column: 28, }, end: Position { line: 48, column: 35, }, }, }, ), ], span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 48, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 46, column: 32, }, end: Position { line: 49, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loggers", span: Span { start: Position { line: 51, column: 13, }, end: Position { line: 51, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mau", span: Span { start: Position { line: 52, column: 15, }, end: Position { line: 52, column: 18, }, }, }, ), Raw( PartRaw { content: "level", span: Span { start: Position { line: 52, column: 19, }, end: Position { line: 52, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "INFO", span: Span { start: Position { line: 52, column: 28, }, end: Position { line: 52, column: 32, }, }, }, ), ], span: Span { start: Position { line: 52, column: 27, }, end: Position { line: 52, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "telethon", span: Span { start: Position { line: 53, column: 15, }, end: Position { line: 53, column: 23, }, }, }, ), Raw( PartRaw { content: "level", span: Span { start: Position { line: 53, column: 24, }, end: Position { line: 53, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "INFO", span: Span { start: Position { line: 53, column: 33, }, end: Position { line: 53, column: 37, }, }, }, ), ], span: Span { start: Position { line: 53, column: 32, }, end: Position { line: 53, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "aiohttp", span: Span { start: Position { line: 57, column: 15, }, end: Position { line: 57, column: 22, }, }, }, ), Raw( PartRaw { content: "level", span: Span { start: Position { line: 57, column: 23, }, end: Position { line: 57, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "WARNING", span: Span { start: Position { line: 57, column: 32, }, end: Position { line: 57, column: 39, }, }, }, ), ], span: Span { start: Position { line: 57, column: 31, }, end: Position { line: 57, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 51, column: 23, }, end: Position { line: 58, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "root", span: Span { start: Position { line: 61, column: 13, }, end: Position { line: 61, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "level", span: Span { start: Position { line: 62, column: 15, }, end: Position { line: 62, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "INFO", span: Span { start: Position { line: 62, column: 24, }, end: Position { line: 62, column: 28, }, }, }, ), ], span: Span { start: Position { line: 62, column: 23, }, end: Position { line: 62, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "handlers", span: Span { start: Position { line: 63, column: 15, }, end: Position { line: 63, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "console", span: Span { start: Position { line: 63, column: 29, }, end: Position { line: 63, column: 36, }, }, }, ), ], span: Span { start: Position { line: 63, column: 28, }, end: Position { line: 63, column: 37, }, }, }, ), ], span: Span { start: Position { line: 63, column: 26, }, end: Position { line: 63, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 61, column: 20, }, end: Position { line: 64, column: 14, }, }, }, ), }, ), ], span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 65, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 21, column: 19, }, end: Position { line: 66, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 67, column: 19, }, end: Position { line: 67, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n homeserver = {\n address = \"http://localhost:8008\";\n domain = \"public-domain.tld\";\n };\n\n appservice.public = {\n prefix = \"/public\";\n external = \"https://public-appservice-address/public\";\n };\n\n bridge.permissions = {\n \"example.com\" = \"full\";\n \"@admin:example.com\" = \"admin\";\n };\n}\n", span: Span { start: Position { line: 68, column: 1, }, end: Position { line: 84, column: 9, }, }, }, ), ], span: Span { start: Position { line: 67, column: 37, }, end: Position { line: 84, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 85, column: 23, }, end: Position { line: 85, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 85, column: 27, }, end: Position { line: 85, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{file}`config.yaml` configuration as a Nix attribute set.\nConfiguration options should match those described in\n[example-config.yaml](https://github.com/mautrix/telegram/blob/master/mautrix_telegram/example-config.yaml).\n\nSecret tokens should be specified using {option}`environmentFile`\ninstead of this world-readable attribute set.\n", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 92, column: 9, }, }, }, ), ], span: Span { start: Position { line: 85, column: 33, }, end: Position { line: 92, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 27, }, end: Position { line: 93, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environmentFile", span: Span { start: Position { line: 95, column: 7, }, end: Position { line: 95, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 95, column: 25, }, end: Position { line: 95, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 96, column: 9, }, end: Position { line: 96, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 96, column: 16, }, end: Position { line: 96, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 96, column: 22, }, end: Position { line: 96, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 96, column: 29, }, end: Position { line: 96, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 96, column: 35, }, end: Position { line: 96, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 97, column: 19, }, end: Position { line: 97, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 98, column: 23, }, end: Position { line: 98, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 98, column: 27, }, end: Position { line: 98, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "File containing environment variables to be passed to the mautrix-telegram service,\nin which secret tokens can be specified securely by defining values for\n`MAUTRIX_TELEGRAM_APPSERVICE_AS_TOKEN`,\n`MAUTRIX_TELEGRAM_APPSERVICE_HS_TOKEN`,\n`MAUTRIX_TELEGRAM_TELEGRAM_API_ID`,\n`MAUTRIX_TELEGRAM_TELEGRAM_API_HASH` and optionally\n`MAUTRIX_TELEGRAM_TELEGRAM_BOT_TOKEN`.\n", span: Span { start: Position { line: 99, column: 1, }, end: Position { line: 106, column: 9, }, }, }, ), ], span: Span { start: Position { line: 98, column: 33, }, end: Position { line: 106, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 95, column: 34, }, end: Position { line: 107, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceDependencies", span: Span { start: Position { line: 109, column: 7, }, end: Position { line: 109, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 109, column: 29, }, end: Position { line: 109, column: 37, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 110, column: 21, }, end: Position { line: 110, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 110, column: 28, }, end: Position { line: 110, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 110, column: 35, }, end: Position { line: 110, column: 38, }, }, }, ), ], }, ), span: Span { start: Position { line: 110, column: 16, }, end: Position { line: 110, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 111, column: 19, }, end: Position { line: 111, column: 27, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 111, column: 28, }, end: Position { line: 111, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 111, column: 35, }, end: Position { line: 111, column: 43, }, }, }, ), Raw( PartRaw { content: "matrix-synapse", span: Span { start: Position { line: 111, column: 44, }, end: Position { line: 111, column: 58, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 111, column: 59, }, end: Position { line: 111, column: 65, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "matrix-synapse.service", span: Span { start: Position { line: 111, column: 67, }, end: Position { line: 111, column: 89, }, }, }, ), ], span: Span { start: Position { line: 111, column: 66, }, end: Position { line: 111, column: 90, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 112, column: 9, }, end: Position { line: 112, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 112, column: 23, }, end: Position { line: 112, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "optional config.services.matrix-synapse.enable \"matrix-synapse.service\"\n", span: Span { start: Position { line: 113, column: 1, }, end: Position { line: 114, column: 9, }, }, }, ), ], span: Span { start: Position { line: 112, column: 41, }, end: Position { line: 114, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 115, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 115, column: 23, }, end: Position { line: 115, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 115, column: 27, }, end: Position { line: 115, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of Systemd services to require and wait for when starting the application service.\n", span: Span { start: Position { line: 116, column: 1, }, end: Position { line: 117, column: 9, }, }, }, ), ], span: Span { start: Position { line: 115, column: 33, }, end: Position { line: 117, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 109, column: 38, }, end: Position { line: 118, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 119, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 13, }, end: Position { line: 120, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 122, column: 3, }, end: Position { line: 122, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 122, column: 12, }, end: Position { line: 122, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 122, column: 17, }, end: Position { line: 122, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 122, column: 21, }, end: Position { line: 122, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 123, column: 5, }, end: Position { line: 123, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 123, column: 13, }, end: Position { line: 123, column: 21, }, }, }, ), Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 123, column: 22, }, end: Position { line: 123, column: 38, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 124, column: 7, }, end: Position { line: 124, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Mautrix-Telegram, a Matrix-Telegram hybrid puppeting/relaybot bridge.", span: Span { start: Position { line: 124, column: 22, }, end: Position { line: 124, column: 91, }, }, }, ), ], span: Span { start: Position { line: 124, column: 21, }, end: Position { line: 124, column: 92, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 126, column: 38, }, }, }, ), ], span: Span { start: Position { line: 126, column: 20, }, end: Position { line: 126, column: 39, }, }, }, ), ], span: Span { start: Position { line: 126, column: 18, }, end: Position { line: 126, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wants", span: Span { start: Position { line: 127, column: 7, }, end: Position { line: 127, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network-online.target", span: Span { start: Position { line: 127, column: 18, }, end: Position { line: 127, column: 39, }, }, }, ), ], span: Span { start: Position { line: 127, column: 17, }, end: Position { line: 127, column: 40, }, }, }, ), ], span: Span { start: Position { line: 127, column: 15, }, end: Position { line: 127, column: 42, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 127, column: 46, }, end: Position { line: 127, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "serviceDependencies", span: Span { start: Position { line: 127, column: 50, }, end: Position { line: 127, column: 69, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network-online.target", span: Span { start: Position { line: 128, column: 18, }, end: Position { line: 128, column: 39, }, }, }, ), ], span: Span { start: Position { line: 128, column: 17, }, end: Position { line: 128, column: 40, }, }, }, ), ], span: Span { start: Position { line: 128, column: 15, }, end: Position { line: 128, column: 42, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 128, column: 46, }, end: Position { line: 128, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "serviceDependencies", span: Span { start: Position { line: 128, column: 50, }, end: Position { line: 128, column: 69, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 129, column: 7, }, end: Position { line: 129, column: 11, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 129, column: 16, }, end: Position { line: 129, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lottieconverter", span: Span { start: Position { line: 129, column: 21, }, end: Position { line: 129, column: 36, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 129, column: 14, }, end: Position { line: 129, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 131, column: 7, }, end: Position { line: 131, column: 15, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Not all secrets can be passed as environment variable (yet)\n# https://github.com/tulir/mautrix-telegram/issues/584\n[ -f ", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 134, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "settingsFile", span: Span { start: Position { line: 134, column: 16, }, end: Position { line: 134, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: " ] && rm -f ", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 134, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "settingsFile", span: Span { start: Position { line: 134, column: 43, }, end: Position { line: 134, column: 55, }, }, }, ), }, ), Raw( PartRaw { content: "\nold_umask=$(umask)\numask 0177\n", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 137, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 137, column: 11, }, end: Position { line: 137, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "envsubst", span: Span { start: Position { line: 137, column: 16, }, end: Position { line: 137, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/envsubst \\\n -o ", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 138, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "settingsFile", span: Span { start: Position { line: 138, column: 16, }, end: Position { line: 138, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: " \\\n -i ", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 139, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "settingsFileUnsubstituted", span: Span { start: Position { line: 139, column: 16, }, end: Position { line: 139, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: "\numask $old_umask\n\n# generate the appservice's registration file if absent\nif [ ! -f ", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 143, column: 19, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 143, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 143, column: 22, }, end: Position { line: 143, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "' ]; then\n ", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 144, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 144, column: 13, }, end: Position { line: 144, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 144, column: 18, }, end: Position { line: 144, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mautrix-telegram \\\n --generate-registration \\\n --base-config=", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 146, column: 27, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 146, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 146, column: 30, }, end: Position { line: 146, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 146, column: 35, }, end: Position { line: 146, column: 51, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 146, column: 53, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 146, column: 55, }, end: Position { line: 146, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 146, column: 60, }, end: Position { line: 146, column: 76, }, }, }, ), Raw( PartRaw { content: "pythonModule", span: Span { start: Position { line: 146, column: 77, }, end: Position { line: 146, column: 89, }, }, }, ), Raw( PartRaw { content: "sitePackages", span: Span { start: Position { line: 146, column: 90, }, end: Position { line: 146, column: 102, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/mautrix_telegram/example-config.yaml' \\\n --config=", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 147, column: 22, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 147, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "settingsFile", span: Span { start: Position { line: 147, column: 25, }, end: Position { line: 147, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "' \\\n --registration=", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 148, column: 28, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 148, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 148, column: 31, }, end: Position { line: 148, column: 47, }, }, }, ), }, ), Raw( PartRaw { content: "'\nfi\n", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 150, column: 7, }, }, }, ), ], span: Span { start: Position { line: 131, column: 18, }, end: Position { line: 150, column: 9, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 150, column: 12, }, end: Position { line: 150, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 150, column: 16, }, end: Position { line: 150, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ HasAttribute( HasAttribute { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 150, column: 32, }, end: Position { line: 150, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 150, column: 37, }, end: Position { line: 150, column: 53, }, }, }, ), ], default: None, }, ), attribute_path: [ Raw( PartRaw { content: "alembic", span: Span { start: Position { line: 150, column: 56, }, end: Position { line: 150, column: 63, }, }, }, ), ], }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# run automatic database init and migration scripts\n", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 152, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 152, column: 11, }, end: Position { line: 152, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 152, column: 16, }, end: Position { line: 152, column: 32, }, }, }, ), Raw( PartRaw { content: "alembic", span: Span { start: Position { line: 152, column: 33, }, end: Position { line: 152, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/alembic -x config=", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 152, column: 64, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 152, column: 65, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "settingsFile", span: Span { start: Position { line: 152, column: 67, }, end: Position { line: 152, column: 79, }, }, }, ), }, ), Raw( PartRaw { content: "' upgrade head\n", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 153, column: 7, }, }, }, ), ], span: Span { start: Position { line: 150, column: 65, }, end: Position { line: 153, column: 9, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 155, column: 7, }, end: Position { line: 155, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 156, column: 9, }, end: Position { line: 156, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 156, column: 17, }, end: Position { line: 156, column: 23, }, }, }, ), ], span: Span { start: Position { line: 156, column: 16, }, end: Position { line: 156, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 157, column: 9, }, end: Position { line: 157, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 157, column: 20, }, end: Position { line: 157, column: 26, }, }, }, ), ], span: Span { start: Position { line: 157, column: 19, }, end: Position { line: 157, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectSystem", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "strict", span: Span { start: Position { line: 159, column: 26, }, end: Position { line: 159, column: 32, }, }, }, ), ], span: Span { start: Position { line: 159, column: 25, }, end: Position { line: 159, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHome", span: Span { start: Position { line: 160, column: 9, }, end: Position { line: 160, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 160, column: 23, }, end: Position { line: 160, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelTunables", span: Span { start: Position { line: 161, column: 9, }, end: Position { line: 161, column: 30, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 161, column: 33, }, end: Position { line: 161, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelModules", span: Span { start: Position { line: 162, column: 9, }, end: Position { line: 162, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 162, column: 32, }, end: Position { line: 162, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectControlGroups", span: Span { start: Position { line: 163, column: 9, }, end: Position { line: 163, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 163, column: 32, }, end: Position { line: 163, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 165, column: 9, }, end: Position { line: 165, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 165, column: 23, }, end: Position { line: 165, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 166, column: 9, }, end: Position { line: 166, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 166, column: 22, }, end: Position { line: 166, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 167, column: 9, }, end: Position { line: 167, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 167, column: 28, }, end: Position { line: 167, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 167, column: 33, }, end: Position { line: 167, column: 49, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 168, column: 9, }, end: Position { line: 168, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "baseNameOf", span: Span { start: Position { line: 168, column: 26, }, end: Position { line: 168, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "dataDir", span: Span { start: Position { line: 168, column: 37, }, end: Position { line: 168, column: 44, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "UMask", span: Span { start: Position { line: 169, column: 9, }, end: Position { line: 169, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0027", span: Span { start: Position { line: 169, column: 18, }, end: Position { line: 169, column: 22, }, }, }, ), ], span: Span { start: Position { line: 169, column: 17, }, end: Position { line: 169, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "EnvironmentFile", span: Span { start: Position { line: 170, column: 9, }, end: Position { line: 170, column: 24, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 170, column: 27, }, end: Position { line: 170, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environmentFile", span: Span { start: Position { line: 170, column: 31, }, end: Position { line: 170, column: 46, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 172, column: 9, }, end: Position { line: 172, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 173, column: 1, }, end: Position { line: 173, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 173, column: 13, }, end: Position { line: 173, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mautrix-telegram", span: Span { start: Position { line: 173, column: 18, }, end: Position { line: 173, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mautrix-telegram \\\n --config=", span: Span { start: Position { line: 173, column: 1, }, end: Position { line: 174, column: 22, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 173, column: 1, }, end: Position { line: 174, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "settingsFile", span: Span { start: Position { line: 174, column: 25, }, end: Position { line: 174, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "'\n", span: Span { start: Position { line: 173, column: 1, }, end: Position { line: 175, column: 9, }, }, }, ), ], span: Span { start: Position { line: 172, column: 21, }, end: Position { line: 175, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 155, column: 23, }, end: Position { line: 176, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 178, column: 7, }, end: Position { line: 178, column: 22, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "settingsFileUnsubstituted", span: Span { start: Position { line: 178, column: 27, }, end: Position { line: 178, column: 52, }, }, }, ), ], span: Span { start: Position { line: 178, column: 25, }, end: Position { line: 178, column: 54, }, }, }, ), }, ), ], span: Span { start: Position { line: 123, column: 41, }, end: Position { line: 179, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 122, column: 28, }, end: Position { line: 180, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 182, column: 3, }, end: Position { line: 182, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 182, column: 8, }, end: Position { line: 182, column: 19, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 182, column: 27, }, end: Position { line: 182, column: 38, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "pacien", span: Span { start: Position { line: 182, column: 42, }, end: Position { line: 182, column: 48, }, }, }, ), Identifier( Identifier { id: "vskilet", span: Span { start: Position { line: 182, column: 49, }, end: Position { line: 182, column: 56, }, }, }, ), ], span: Span { start: Position { line: 182, column: 40, }, end: Position { line: 182, column: 58, }, }, }, ), span: Span { start: Position { line: 182, column: 22, }, end: Position { line: 182, column: 58, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 4, }, end: Position { line: 183, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 183, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 183, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 183, column: 2, }, }, }, )