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: "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: "matrix-appservice-irc", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 46, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkg", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 8, column: 9, }, end: Position { line: 8, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 8, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bin", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 6, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 9, column: 12, }, end: Position { line: 9, column: 15, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/matrix-appservice-irc", span: Span { start: Position { line: 9, column: 10, }, end: Position { line: 9, column: 42, }, }, }, ), ], span: Span { start: Position { line: 9, column: 9, }, end: Position { line: 9, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "jsonType", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 11, column: 15, }, end: Position { line: 11, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 27, }, }, }, ), Raw( PartRaw { content: "json", span: Span { start: Position { line: 11, column: 28, }, end: Position { line: 11, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 11, column: 33, }, end: Position { line: 11, column: 35, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 37, }, end: Position { line: 11, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 13, column: 16, }, end: Position { line: 13, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "matrix-appservice-irc.yml", span: Span { start: Position { line: 13, column: 33, }, end: Position { line: 13, column: 58, }, }, }, ), ], span: Span { start: Position { line: 13, column: 32, }, end: Position { line: 13, column: 59, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nativeBuildInputs", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 22, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 15, column: 28, }, end: Position { line: 15, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python3", span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 40, }, }, }, ), Raw( PartRaw { content: "withPackages", span: Span { start: Position { line: 15, column: 41, }, end: Position { line: 15, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "ps", }, ), body: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ps", span: Span { start: Position { line: 15, column: 61, }, end: Position { line: 15, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pyyaml", span: Span { start: Position { line: 15, column: 64, }, end: Position { line: 15, column: 70, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ps", span: Span { start: Position { line: 15, column: 71, }, end: Position { line: 15, column: 73, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "jsonschema", span: Span { start: Position { line: 15, column: 74, }, end: Position { line: 15, column: 84, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 15, column: 59, }, end: Position { line: 15, column: 86, }, }, }, ), span: Span { start: Position { line: 15, column: 55, }, end: Position { line: 15, column: 86, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 15, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preferLocalBuild", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 16, column: 24, }, end: Position { line: 16, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 18, column: 14, }, end: Position { line: 18, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 18, column: 23, }, end: Position { line: 18, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 18, column: 30, }, end: Position { line: 18, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 18, column: 34, }, end: Position { line: 18, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passAsFile", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 19, column: 21, }, end: Position { line: 19, column: 27, }, }, }, ), ], span: Span { start: Position { line: 19, column: 20, }, end: Position { line: 19, column: 28, }, }, }, ), ], span: Span { start: Position { line: 19, column: 18, }, end: Position { line: 19, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 60, }, end: Position { line: 20, column: 4, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# The schema is given as yaml, we need to convert it to json\npython -c 'import json; import yaml; import sys; json.dump(yaml.safe_load(sys.stdin), sys.stdout)' \\\n < ", span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 23, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 23, column: 11, }, end: Position { line: 23, column: 14, }, }, }, ), }, ), Raw( PartRaw { content: "/lib/node_modules/matrix-appservice-irc/config.schema.yml \\\n > config.schema.json\npython -m jsonschema config.schema.json -i $configPath\ncp \"$configPath\" \"$out\"\n", span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 27, column: 3, }, }, }, ), ], span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 27, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "registrationFile", span: Span { start: Position { line: 28, column: 3, }, end: Position { line: 28, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/matrix-appservice-irc/registration.yml", span: Span { start: Position { line: 28, column: 23, }, end: Position { line: 28, column: 70, }, }, }, ), ], span: Span { start: Position { line: 28, column: 22, }, end: Position { line: 28, column: 71, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 30, column: 11, }, end: Position { line: 30, column: 19, }, }, }, ), Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 30, column: 20, }, end: Position { line: 30, column: 41, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 30, column: 49, }, end: Position { line: 30, column: 54, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 31, column: 14, }, end: Position { line: 31, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 31, column: 30, }, end: Position { line: 31, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 31, column: 34, }, end: Position { line: 31, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "the Matrix/IRC bridge", span: Span { start: Position { line: 31, column: 41, }, end: Position { line: 31, column: 62, }, }, }, ), ], span: Span { start: Position { line: 31, column: 40, }, end: Position { line: 31, column: 63, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 33, column: 12, }, end: Position { line: 33, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "port", span: Span { start: Position { line: 34, column: 14, }, end: Position { line: 34, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 35, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 35, column: 25, }, end: Position { line: 35, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The port to listen on", span: Span { start: Position { line: 35, column: 32, }, end: Position { line: 35, column: 53, }, }, }, ), ], span: Span { start: Position { line: 35, column: 31, }, end: Position { line: 35, column: 54, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 14, }, }, }, ), ], to: Integer( Integer { value: "8009", span: Span { start: Position { line: 36, column: 17, }, end: Position { line: 36, column: 21, }, }, }, ), }, ), ], span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 37, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "needBindingCap", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 39, column: 22, }, end: Position { line: 39, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "bool", span: Span { start: Position { line: 40, column: 14, }, end: Position { line: 40, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 41, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 41, column: 25, }, end: Position { line: 41, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether the daemon needs to bind to ports below 1024 (e.g. for the ident service)", span: Span { start: Position { line: 41, column: 32, }, end: Position { line: 41, column: 113, }, }, }, ), ], span: Span { start: Position { line: 41, column: 31, }, end: Position { line: 41, column: 114, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 22, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 31, }, end: Position { line: 43, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passwordEncryptionKeyLength", span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 45, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 35, }, end: Position { line: 45, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ints", span: Span { start: Position { line: 46, column: 14, }, end: Position { line: 46, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unsigned", span: Span { start: Position { line: 46, column: 19, }, end: Position { line: 46, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 47, column: 21, }, end: Position { line: 47, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 47, column: 25, }, end: Position { line: 47, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Length of the key to encrypt IRC passwords with", span: Span { start: Position { line: 47, column: 32, }, end: Position { line: 47, column: 79, }, }, }, ), ], span: Span { start: Position { line: 47, column: 31, }, end: Position { line: 47, column: 80, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 48, column: 7, }, end: Position { line: 48, column: 14, }, }, }, ), ], to: Integer( Integer { value: "4096", span: Span { start: Position { line: 48, column: 17, }, end: Position { line: 48, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 14, }, }, }, ), ], to: Integer( Integer { value: "8192", span: Span { start: Position { line: 49, column: 17, }, end: Position { line: 49, column: 21, }, }, }, ), }, ), ], span: Span { start: Position { line: 45, column: 44, }, end: Position { line: 50, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "registrationUrl", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 52, column: 23, }, end: Position { line: 52, column: 31, }, }, }, ), 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: Identifier( Identifier { id: "str", span: Span { start: Position { line: 53, column: 14, }, end: Position { line: 53, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 54, column: 25, }, end: Position { line: 54, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The URL where the application service is listening for homeserver requests,\nfrom the Matrix homeserver perspective.\n", span: Span { start: Position { line: 55, column: 1, }, end: Position { line: 57, column: 7, }, }, }, ), ], span: Span { start: Position { line: 54, column: 31, }, end: Position { line: 57, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 58, column: 7, }, end: Position { line: 58, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://localhost:8009", span: Span { start: Position { line: 58, column: 18, }, end: Position { line: 58, column: 39, }, }, }, ), ], span: Span { start: Position { line: 58, column: 17, }, end: Position { line: 58, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 52, column: 32, }, end: Position { line: 59, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "localpart", span: Span { start: Position { line: 61, column: 5, }, end: Position { line: 61, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 61, column: 17, }, end: Position { line: 61, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "str", span: Span { start: Position { line: 62, column: 14, }, end: Position { line: 62, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 63, column: 21, }, end: Position { line: 63, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 63, column: 25, }, end: Position { line: 63, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The user_id localpart to assign to the appservice", span: Span { start: Position { line: 63, column: 32, }, end: Position { line: 63, column: 81, }, }, }, ), ], span: Span { start: Position { line: 63, column: 31, }, end: Position { line: 63, column: 82, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 64, column: 7, }, end: Position { line: 64, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "appservice-irc", span: Span { start: Position { line: 64, column: 18, }, end: Position { line: 64, column: 32, }, }, }, ), ], span: Span { start: Position { line: 64, column: 17, }, end: Position { line: 64, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 61, column: 26, }, end: Position { line: 65, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 67, column: 5, }, end: Position { line: 67, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 67, column: 16, }, end: Position { line: 67, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 68, column: 21, }, end: Position { line: 68, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 68, column: 25, }, end: Position { line: 68, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configuration for the appservice, see\n\nfor supported values\n", span: Span { start: Position { line: 69, column: 1, }, end: Position { line: 72, column: 7, }, }, }, ), ], span: Span { start: Position { line: 68, column: 31, }, end: Position { line: 72, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 73, column: 17, }, end: Position { line: 73, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 74, column: 7, }, end: Position { line: 74, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 74, column: 14, }, end: Position { line: 74, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "jsonType", span: Span { start: Position { line: 75, column: 24, }, end: Position { line: 75, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 77, column: 9, }, end: Position { line: 77, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "homeserver", span: Span { start: Position { line: 78, column: 11, }, end: Position { line: 78, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 78, column: 24, }, end: Position { line: 78, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 79, column: 13, }, end: Position { line: 79, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 79, column: 27, }, end: Position { line: 79, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 79, column: 31, }, end: Position { line: 79, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Homeserver configuration", span: Span { start: Position { line: 79, column: 38, }, end: Position { line: 79, column: 62, }, }, }, ), ], span: Span { start: Position { line: 79, column: 37, }, end: Position { line: 79, column: 63, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 80, column: 13, }, end: Position { line: 80, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 80, column: 23, }, end: Position { line: 80, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 81, column: 13, }, end: Position { line: 81, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 81, column: 20, }, end: Position { line: 81, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 82, column: 15, }, end: Position { line: 82, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "jsonType", span: Span { start: Position { line: 82, column: 30, }, end: Position { line: 82, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 84, column: 15, }, end: Position { line: 84, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "url", span: Span { start: Position { line: 85, column: 17, }, end: Position { line: 85, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 85, column: 23, }, end: Position { line: 85, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 86, column: 19, }, end: Position { line: 86, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "str", span: Span { start: Position { line: 86, column: 26, }, end: Position { line: 86, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 87, column: 19, }, end: Position { line: 87, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 87, column: 33, }, end: Position { line: 87, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 87, column: 37, }, end: Position { line: 87, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The URL to the home server for client-server API calls", span: Span { start: Position { line: 87, column: 44, }, end: Position { line: 87, column: 98, }, }, }, ), ], span: Span { start: Position { line: 87, column: 43, }, end: Position { line: 87, column: 99, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 85, column: 32, }, end: Position { line: 88, column: 18, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "domain", span: Span { start: Position { line: 90, column: 17, }, end: Position { line: 90, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 90, column: 26, }, end: Position { line: 90, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 91, column: 19, }, end: Position { line: 91, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "str", span: Span { start: Position { line: 91, column: 26, }, end: Position { line: 91, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 92, column: 19, }, end: Position { line: 92, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 92, column: 33, }, end: Position { line: 92, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 92, column: 37, }, end: Position { line: 92, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The 'domain' part for user IDs on this home server. Usually\n(but not always) is the \"domain name\" part of the homeserver URL.\n", span: Span { start: Position { line: 93, column: 1, }, end: Position { line: 95, column: 19, }, }, }, ), ], span: Span { start: Position { line: 92, column: 43, }, end: Position { line: 95, column: 21, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 90, column: 35, }, end: Position { line: 96, column: 18, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 84, column: 25, }, end: Position { line: 97, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 81, column: 30, }, end: Position { line: 98, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 78, column: 33, }, end: Position { line: 99, column: 12, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 101, column: 11, }, end: Position { line: 101, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 101, column: 22, }, end: Position { line: 101, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 102, column: 13, }, end: Position { line: 102, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 102, column: 23, }, end: Position { line: 102, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 103, column: 13, }, end: Position { line: 103, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 103, column: 27, }, end: Position { line: 103, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 103, column: 31, }, end: Position { line: 103, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Configuration for the database", span: Span { start: Position { line: 103, column: 38, }, end: Position { line: 103, column: 68, }, }, }, ), ], span: Span { start: Position { line: 103, column: 37, }, end: Position { line: 103, column: 69, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 104, column: 13, }, end: Position { line: 104, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 104, column: 20, }, end: Position { line: 104, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 105, column: 15, }, end: Position { line: 105, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "jsonType", span: Span { start: Position { line: 105, column: 30, }, end: Position { line: 105, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 107, column: 15, }, end: Position { line: 107, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "engine", span: Span { start: Position { line: 108, column: 17, }, end: Position { line: 108, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 108, column: 26, }, end: Position { line: 108, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 109, column: 19, }, end: Position { line: 109, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "str", span: Span { start: Position { line: 109, column: 26, }, end: Position { line: 109, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 110, column: 19, }, end: Position { line: 110, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 110, column: 33, }, end: Position { line: 110, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 110, column: 37, }, end: Position { line: 110, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Which database engine to use", span: Span { start: Position { line: 110, column: 44, }, end: Position { line: 110, column: 72, }, }, }, ), ], span: Span { start: Position { line: 110, column: 43, }, end: Position { line: 110, column: 73, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 111, column: 19, }, end: Position { line: 111, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nedb", span: Span { start: Position { line: 111, column: 30, }, end: Position { line: 111, column: 34, }, }, }, ), ], span: Span { start: Position { line: 111, column: 29, }, end: Position { line: 111, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 112, column: 19, }, end: Position { line: 112, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 112, column: 30, }, end: Position { line: 112, column: 38, }, }, }, ), ], span: Span { start: Position { line: 112, column: 29, }, end: Position { line: 112, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 108, column: 35, }, end: Position { line: 113, column: 18, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "connectionString", span: Span { start: Position { line: 115, column: 17, }, end: Position { line: 115, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 115, column: 36, }, end: Position { line: 115, column: 44, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 116, column: 19, }, end: Position { line: 116, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "str", span: Span { start: Position { line: 116, column: 26, }, end: Position { line: 116, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 117, column: 19, }, end: Position { line: 117, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 117, column: 33, }, end: Position { line: 117, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 117, column: 37, }, end: Position { line: 117, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The database connection string", span: Span { start: Position { line: 117, column: 44, }, end: Position { line: 117, column: 74, }, }, }, ), ], span: Span { start: Position { line: 117, column: 43, }, end: Position { line: 117, column: 75, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 118, column: 19, }, end: Position { line: 118, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nedb://var/lib/matrix-appservice-irc/data", span: Span { start: Position { line: 118, column: 30, }, end: Position { line: 118, column: 71, }, }, }, ), ], span: Span { start: Position { line: 118, column: 29, }, end: Position { line: 118, column: 72, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 119, column: 19, }, end: Position { line: 119, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres://username:password@host:port/databasename", span: Span { start: Position { line: 119, column: 30, }, end: Position { line: 119, column: 81, }, }, }, ), ], span: Span { start: Position { line: 119, column: 29, }, end: Position { line: 119, column: 82, }, }, }, ), }, ), ], span: Span { start: Position { line: 115, column: 45, }, end: Position { line: 120, column: 18, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 107, column: 25, }, end: Position { line: 121, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 104, column: 30, }, end: Position { line: 122, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 101, column: 31, }, end: Position { line: 123, column: 12, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ircService", span: Span { start: Position { line: 125, column: 11, }, end: Position { line: 125, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 125, column: 24, }, end: Position { line: 125, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 126, column: 13, }, end: Position { line: 126, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 126, column: 23, }, end: Position { line: 126, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 127, column: 13, }, end: Position { line: 127, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 127, column: 27, }, end: Position { line: 127, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 127, column: 31, }, end: Position { line: 127, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "IRC bridge configuration", span: Span { start: Position { line: 127, column: 38, }, end: Position { line: 127, column: 62, }, }, }, ), ], span: Span { start: Position { line: 127, column: 37, }, end: Position { line: 127, column: 63, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 128, column: 13, }, end: Position { line: 128, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 128, column: 20, }, end: Position { line: 128, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 129, column: 15, }, end: Position { line: 129, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "jsonType", span: Span { start: Position { line: 129, column: 30, }, end: Position { line: 129, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 131, column: 15, }, end: Position { line: 131, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passwordEncryptionKeyPath", span: Span { start: Position { line: 132, column: 17, }, end: Position { line: 132, column: 42, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 132, column: 45, }, end: Position { line: 132, column: 53, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 133, column: 19, }, end: Position { line: 133, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "str", span: Span { start: Position { line: 133, column: 26, }, end: Position { line: 133, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 134, column: 19, }, end: Position { line: 134, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 134, column: 33, }, end: Position { line: 134, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 134, column: 37, }, end: Position { line: 134, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Location of the key with which IRC passwords are encrypted\nfor storage. Will be generated on first run if not present.\n", span: Span { start: Position { line: 135, column: 1, }, end: Position { line: 137, column: 19, }, }, }, ), ], span: Span { start: Position { line: 134, column: 43, }, end: Position { line: 137, column: 21, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 138, column: 19, }, end: Position { line: 138, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/matrix-appservice-irc/passkey.pem", span: Span { start: Position { line: 138, column: 30, }, end: Position { line: 138, column: 72, }, }, }, ), ], span: Span { start: Position { line: 138, column: 29, }, end: Position { line: 138, column: 73, }, }, }, ), }, ), ], span: Span { start: Position { line: 132, column: 54, }, end: Position { line: 139, column: 18, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "servers", span: Span { start: Position { line: 141, column: 17, }, end: Position { line: 141, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 141, column: 27, }, end: Position { line: 141, column: 35, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 142, column: 19, }, end: Position { line: 142, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 142, column: 26, }, end: Position { line: 142, column: 35, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 142, column: 38, }, end: Position { line: 142, column: 50, }, }, }, ), ], to: Identifier( Identifier { id: "jsonType", span: Span { start: Position { line: 142, column: 53, }, end: Position { line: 142, column: 61, }, }, }, ), }, ), ], span: Span { start: Position { line: 142, column: 36, }, end: Position { line: 142, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 143, column: 19, }, end: Position { line: 143, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 143, column: 33, }, end: Position { line: 143, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 143, column: 37, }, end: Position { line: 143, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "IRC servers to connect to", span: Span { start: Position { line: 143, column: 44, }, end: Position { line: 143, column: 69, }, }, }, ), ], span: Span { start: Position { line: 143, column: 43, }, end: Position { line: 143, column: 70, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 141, column: 36, }, end: Position { line: 144, column: 18, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 131, column: 25, }, end: Position { line: 145, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 128, column: 30, }, end: Position { line: 146, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 125, column: 33, }, end: Position { line: 147, column: 12, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 77, column: 19, }, end: Position { line: 148, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 74, column: 24, }, end: Position { line: 149, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 67, column: 25, }, end: Position { line: 150, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 30, column: 56, }, end: Position { line: 151, column: 4, }, }, }, ), span: Span { start: Position { line: 30, column: 44, }, end: Position { line: 151, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 152, column: 3, }, end: Position { line: 152, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 152, column: 12, }, end: Position { line: 152, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 152, column: 17, }, end: Position { line: 152, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 152, column: 21, }, end: Position { line: 152, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 153, column: 5, }, end: Position { line: 153, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 153, column: 13, }, end: Position { line: 153, column: 21, }, }, }, ), Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 153, column: 22, }, end: Position { line: 153, column: 43, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 154, column: 7, }, end: Position { line: 154, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Matrix-IRC bridge", span: Span { start: Position { line: 154, column: 22, }, end: Position { line: 154, column: 39, }, }, }, ), ], span: Span { start: Position { line: 154, column: 21, }, end: Position { line: 154, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "before", span: Span { start: Position { line: 155, column: 7, }, end: Position { line: 155, column: 13, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "matrix-synapse.service", span: Span { start: Position { line: 155, column: 19, }, end: Position { line: 155, column: 41, }, }, }, ), ], span: Span { start: Position { line: 155, column: 18, }, end: Position { line: 155, column: 42, }, }, }, ), ], span: Span { start: Position { line: 155, column: 16, }, end: Position { line: 155, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 156, column: 7, }, end: Position { line: 156, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 156, column: 15, }, end: Position { line: 156, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionals", span: Span { start: Position { line: 156, column: 19, }, end: Position { line: 156, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 156, column: 30, }, end: Position { line: 156, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 156, column: 34, }, end: Position { line: 156, column: 42, }, }, }, ), Raw( PartRaw { content: "database", span: Span { start: Position { line: 156, column: 43, }, end: Position { line: 156, column: 51, }, }, }, ), Raw( PartRaw { content: "engine", span: Span { start: Position { line: 156, column: 52, }, end: Position { line: 156, column: 58, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 156, column: 63, }, end: Position { line: 156, column: 71, }, }, }, ), ], span: Span { start: Position { line: 156, column: 62, }, end: Position { line: 156, column: 72, }, }, }, ), }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "postgresql.service", span: Span { start: Position { line: 157, column: 10, }, end: Position { line: 157, column: 28, }, }, }, ), ], span: Span { start: Position { line: 157, column: 9, }, end: Position { line: 157, column: 29, }, }, }, ), ], span: Span { start: Position { line: 156, column: 74, }, end: Position { line: 158, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 159, column: 7, }, end: Position { line: 159, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 159, column: 21, }, end: Position { line: 159, column: 38, }, }, }, ), ], span: Span { start: Position { line: 159, column: 20, }, end: Position { line: 159, column: 39, }, }, }, ), ], span: Span { start: Position { line: 159, column: 18, }, end: Position { line: 159, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 161, column: 7, }, end: Position { line: 161, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "umask 077\n# Generate key for crypting passwords\nif ! [ -f \"", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 164, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 164, column: 22, }, end: Position { line: 164, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 164, column: 26, }, end: Position { line: 164, column: 34, }, }, }, ), Raw( PartRaw { content: "ircService", span: Span { start: Position { line: 164, column: 35, }, end: Position { line: 164, column: 45, }, }, }, ), Raw( PartRaw { content: "passwordEncryptionKeyPath", span: Span { start: Position { line: 164, column: 46, }, end: Position { line: 164, column: 71, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" ]; then\n ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 165, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 165, column: 13, }, end: Position { line: 165, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openssl", span: Span { start: Position { line: 165, column: 18, }, end: Position { line: 165, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/openssl genpkey \\\n -out \"", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 166, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 166, column: 23, }, end: Position { line: 166, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 166, column: 27, }, end: Position { line: 166, column: 35, }, }, }, ), Raw( PartRaw { content: "ircService", span: Span { start: Position { line: 166, column: 36, }, end: Position { line: 166, column: 46, }, }, }, ), Raw( PartRaw { content: "passwordEncryptionKeyPath", span: Span { start: Position { line: 166, column: 47, }, end: Position { line: 166, column: 72, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" \\\n -outform PEM \\\n -algorithm RSA \\\n -pkeyopt \"rsa_keygen_bits:", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 169, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 169, column: 43, }, end: Position { line: 169, column: 51, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 169, column: 52, }, end: Position { line: 169, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passwordEncryptionKeyLength", span: Span { start: Position { line: 169, column: 56, }, end: Position { line: 169, column: 83, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\"\nfi\n# Generate registration file\nif ! [ -f \"", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 172, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 172, column: 22, }, end: Position { line: 172, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "\" ]; then\n # The easy case: the file has not been generated yet\n ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 174, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "bin", span: Span { start: Position { line: 174, column: 13, }, end: Position { line: 174, column: 16, }, }, }, ), }, ), Raw( PartRaw { content: " --generate-registration --file ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 174, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 174, column: 51, }, end: Position { line: 174, column: 67, }, }, }, ), }, ), Raw( PartRaw { content: " --config ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 174, column: 78, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 174, column: 80, }, end: Position { line: 174, column: 90, }, }, }, ), }, ), Raw( PartRaw { content: " --url ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 174, column: 98, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 174, column: 100, }, end: Position { line: 174, column: 103, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "registrationUrl", span: Span { start: Position { line: 174, column: 104, }, end: Position { line: 174, column: 119, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " --localpart ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 174, column: 133, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 174, column: 135, }, end: Position { line: 174, column: 138, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "localpart", span: Span { start: Position { line: 174, column: 139, }, end: Position { line: 174, column: 148, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nelse\n # The tricky case: we already have a generation file. Because the NixOS configuration might have changed, we need to\n # regenerate it. But this would give the service a new random ID and tokens, so we need to back up and restore them.\n # 1. Backup\n id=$(grep \"^id:.*$\" ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 179, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 179, column: 33, }, end: Position { line: 179, column: 49, }, }, }, ), }, ), Raw( PartRaw { content: ")\n hs_token=$(grep \"^hs_token:.*$\" ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 180, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 180, column: 45, }, end: Position { line: 180, column: 61, }, }, }, ), }, ), Raw( PartRaw { content: ")\n as_token=$(grep \"^as_token:.*$\" ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 181, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 181, column: 45, }, end: Position { line: 181, column: 61, }, }, }, ), }, ), Raw( PartRaw { content: ")\n # 2. Regenerate\n ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 183, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "bin", span: Span { start: Position { line: 183, column: 13, }, end: Position { line: 183, column: 16, }, }, }, ), }, ), Raw( PartRaw { content: " --generate-registration --file ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 183, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 183, column: 51, }, end: Position { line: 183, column: 67, }, }, }, ), }, ), Raw( PartRaw { content: " --config ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 183, column: 78, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 183, column: 80, }, end: Position { line: 183, column: 90, }, }, }, ), }, ), Raw( PartRaw { content: " --url ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 183, column: 98, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 183, column: 100, }, end: Position { line: 183, column: 103, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "registrationUrl", span: Span { start: Position { line: 183, column: 104, }, end: Position { line: 183, column: 119, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " --localpart ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 183, column: 133, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 183, column: 135, }, end: Position { line: 183, column: 138, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "localpart", span: Span { start: Position { line: 183, column: 139, }, end: Position { line: 183, column: 148, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n # 3. Restore\n sed -i \"s/^id:.*$/$id/g\" ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 185, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 185, column: 38, }, end: Position { line: 185, column: 54, }, }, }, ), }, ), Raw( PartRaw { content: "\n sed -i \"s/^hs_token:.*$/$hs_token/g\" ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 186, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 186, column: 50, }, end: Position { line: 186, column: 66, }, }, }, ), }, ), Raw( PartRaw { content: "\n sed -i \"s/^as_token:.*$/$as_token/g\" ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 187, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 187, column: 50, }, end: Position { line: 187, column: 66, }, }, }, ), }, ), Raw( PartRaw { content: "\nfi\n# Allow synapse access to the registration\nif ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 190, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getBin", span: Span { start: Position { line: 190, column: 14, }, end: Position { line: 190, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 190, column: 21, }, end: Position { line: 190, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "glibc", span: Span { start: Position { line: 190, column: 26, }, end: Position { line: 190, column: 31, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "/bin/getent group matrix-synapse > /dev/null; then\n chgrp matrix-synapse ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 191, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 191, column: 34, }, end: Position { line: 191, column: 50, }, }, }, ), }, ), Raw( PartRaw { content: "\n chmod g+r ", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 192, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 192, column: 23, }, end: Position { line: 192, column: 39, }, }, }, ), }, ), Raw( PartRaw { content: "\nfi\n", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 194, column: 7, }, }, }, ), ], span: Span { start: Position { line: 161, column: 18, }, end: Position { line: 194, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 196, column: 7, }, end: Position { line: 196, column: 20, }, }, }, ), ], to: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 197, column: 9, }, end: Position { line: 197, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 197, column: 17, }, end: Position { line: 197, column: 23, }, }, }, ), ], span: Span { start: Position { line: 197, column: 16, }, end: Position { line: 197, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 198, column: 9, }, end: Position { line: 198, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "bin", span: Span { start: Position { line: 198, column: 24, }, end: Position { line: 198, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: " --config ", span: Span { start: Position { line: 198, column: 22, }, end: Position { line: 198, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 198, column: 40, }, end: Position { line: 198, column: 50, }, }, }, ), }, ), Raw( PartRaw { content: " --file ", span: Span { start: Position { line: 198, column: 22, }, end: Position { line: 198, column: 59, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "registrationFile", span: Span { start: Position { line: 198, column: 61, }, end: Position { line: 198, column: 77, }, }, }, ), }, ), Raw( PartRaw { content: " --port ", span: Span { start: Position { line: 198, column: 22, }, end: Position { line: 198, column: 86, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 198, column: 88, }, end: Position { line: 198, column: 96, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 198, column: 97, }, end: Position { line: 198, column: 100, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 198, column: 101, }, end: Position { line: 198, column: 105, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 198, column: 21, }, end: Position { line: 198, column: 107, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHome", span: Span { start: Position { line: 200, column: 9, }, end: Position { line: 200, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 200, column: 23, }, end: Position { line: 200, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateDevices", span: Span { start: Position { line: 201, column: 9, }, end: Position { line: 201, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 201, column: 26, }, end: Position { line: 201, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelTunables", span: Span { start: Position { line: 202, column: 9, }, end: Position { line: 202, column: 30, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 202, column: 33, }, end: Position { line: 202, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelModules", span: Span { start: Position { line: 203, column: 9, }, end: Position { line: 203, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 203, column: 32, }, end: Position { line: 203, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectControlGroups", span: Span { start: Position { line: 204, column: 9, }, end: Position { line: 204, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 204, column: 32, }, end: Position { line: 204, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 205, column: 9, }, end: Position { line: 205, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 205, column: 27, }, end: Position { line: 205, column: 48, }, }, }, ), ], span: Span { start: Position { line: 205, column: 26, }, end: Position { line: 205, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectoryMode", span: Span { start: Position { line: 206, column: 9, }, end: Position { line: 206, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "755", span: Span { start: Position { line: 206, column: 31, }, end: Position { line: 206, column: 34, }, }, }, ), ], span: Span { start: Position { line: 206, column: 30, }, end: Position { line: 206, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 208, column: 9, }, end: Position { line: 208, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 208, column: 17, }, end: Position { line: 208, column: 38, }, }, }, ), ], span: Span { start: Position { line: 208, column: 16, }, end: Position { line: 208, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 209, column: 9, }, end: Position { line: 209, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 209, column: 18, }, end: Position { line: 209, column: 39, }, }, }, ), ], span: Span { start: Position { line: 209, column: 17, }, end: Position { line: 209, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CapabilityBoundingSet", span: Span { start: Position { line: 211, column: 9, }, end: Position { line: 211, column: 30, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "CAP_CHOWN", span: Span { start: Position { line: 211, column: 36, }, end: Position { line: 211, column: 45, }, }, }, ), ], span: Span { start: Position { line: 211, column: 35, }, end: Position { line: 211, column: 46, }, }, }, ), ], span: Span { start: Position { line: 211, column: 33, }, end: Position { line: 211, column: 48, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 211, column: 52, }, end: Position { line: 211, column: 60, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 211, column: 62, }, end: Position { line: 211, column: 65, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "needBindingCap", span: Span { start: Position { line: 211, column: 66, }, end: Position { line: 211, column: 80, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "CAP_NET_BIND_SERVICE", span: Span { start: Position { line: 211, column: 83, }, end: Position { line: 211, column: 103, }, }, }, ), ], span: Span { start: Position { line: 211, column: 82, }, end: Position { line: 211, column: 104, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "AmbientCapabilities", span: Span { start: Position { line: 212, column: 9, }, end: Position { line: 212, column: 28, }, }, }, ), ], to: Identifier( Identifier { id: "CapabilityBoundingSet", span: Span { start: Position { line: 212, column: 31, }, end: Position { line: 212, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NoNewPrivileges", span: Span { start: Position { line: 213, column: 9, }, end: Position { line: 213, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 213, column: 27, }, end: Position { line: 213, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LockPersonality", span: Span { start: Position { line: 215, column: 9, }, end: Position { line: 215, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 215, column: 27, }, end: Position { line: 215, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictRealtime", span: Span { start: Position { line: 216, column: 9, }, end: Position { line: 216, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 216, column: 28, }, end: Position { line: 216, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateMounts", span: Span { start: Position { line: 217, column: 9, }, end: Position { line: 217, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 217, column: 25, }, end: Position { line: 217, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallFilter", span: Span { start: Position { line: 218, column: 9, }, end: Position { line: 218, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "~@aio @clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @raw-io @setuid @swap", span: Span { start: Position { line: 218, column: 29, }, end: Position { line: 218, column: 128, }, }, }, ), ], span: Span { start: Position { line: 218, column: 28, }, end: Position { line: 218, column: 129, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallArchitectures", span: Span { start: Position { line: 219, column: 9, }, end: Position { line: 219, column: 32, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "native", span: Span { start: Position { line: 219, column: 36, }, end: Position { line: 219, column: 42, }, }, }, ), ], span: Span { start: Position { line: 219, column: 35, }, end: Position { line: 219, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictAddressFamilies", span: Span { start: Position { line: 221, column: 9, }, end: Position { line: 221, column: 32, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "AF_UNIX AF_INET AF_INET6", span: Span { start: Position { line: 221, column: 36, }, end: Position { line: 221, column: 60, }, }, }, ), ], span: Span { start: Position { line: 221, column: 35, }, end: Position { line: 221, column: 61, }, }, }, ), }, ), ], span: Span { start: Position { line: 196, column: 23, }, end: Position { line: 222, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 153, column: 46, }, end: Position { line: 223, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 225, column: 5, }, end: Position { line: 225, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 225, column: 11, }, end: Position { line: 225, column: 17, }, }, }, ), Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 225, column: 18, }, end: Position { line: 225, column: 39, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 225, column: 42, }, end: Position { line: 225, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 226, column: 5, }, end: Position { line: 226, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 226, column: 11, }, end: Position { line: 226, column: 16, }, }, }, ), Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 226, column: 17, }, end: Position { line: 226, column: 38, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 227, column: 7, }, end: Position { line: 227, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Service user for the Matrix-IRC bridge", span: Span { start: Position { line: 227, column: 22, }, end: Position { line: 227, column: 60, }, }, }, ), ], span: Span { start: Position { line: 227, column: 21, }, end: Position { line: 227, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 228, column: 7, }, end: Position { line: 228, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "matrix-appservice-irc", span: Span { start: Position { line: 228, column: 16, }, end: Position { line: 228, column: 37, }, }, }, ), ], span: Span { start: Position { line: 228, column: 15, }, end: Position { line: 228, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 229, column: 7, }, end: Position { line: 229, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 229, column: 22, }, end: Position { line: 229, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 226, column: 41, }, end: Position { line: 230, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 152, column: 28, }, end: Position { line: 231, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 234, column: 3, }, end: Position { line: 234, column: 7, }, }, }, ), Raw( PartRaw { content: "buildDocsInSandbox", span: Span { start: Position { line: 234, column: 8, }, end: Position { line: 234, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 234, column: 29, }, end: Position { line: 234, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 29, column: 4, }, end: Position { line: 235, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 235, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 235, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 235, column: 2, }, }, }, )