Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 2, column: 6, }, end: Position { line: 2, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 4, column: 14, }, end: Position { line: 4, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 24, }, }, }, ), Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 17, }, end: Position { line: 6, column: 25, }, }, }, ), Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 6, column: 26, }, end: Position { line: 6, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "format", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 7, column: 12, }, end: Position { line: 7, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 7, column: 17, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "ini", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listToValue", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "l", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 10, column: 10, }, end: Position { line: 10, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "length", span: Span { start: Position { line: 10, column: 19, }, end: Position { line: 10, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "l", span: Span { start: Position { line: 10, column: 26, }, end: Position { line: 10, column: 27, }, }, }, ), ], }, ), operator: EqualTo, right: Integer( Integer { value: "1", span: Span { start: Position { line: 10, column: 31, }, end: Position { line: 10, column: 32, }, }, }, ), }, ), then: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "generators", span: Span { start: Position { line: 10, column: 38, }, end: Position { line: 10, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkValueStringDefault", span: Span { start: Position { line: 10, column: 49, }, end: Position { line: 10, column: 69, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 10, column: 70, }, end: Position { line: 10, column: 72, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "head", span: Span { start: Position { line: 10, column: 74, }, end: Position { line: 10, column: 78, }, }, }, ), arguments: [ Identifier( Identifier { id: "l", span: Span { start: Position { line: 10, column: 79, }, end: Position { line: 10, column: 80, }, }, }, ), ], }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 11, column: 12, }, end: Position { line: 11, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMapStrings", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "s", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 11, column: 38, }, end: Position { line: 11, column: 81, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "generators", span: Span { start: Position { line: 11, column: 44, }, end: Position { line: 11, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkValueStringDefault", span: Span { start: Position { line: 11, column: 55, }, end: Position { line: 11, column: 75, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 11, column: 76, }, end: Position { line: 11, column: 78, }, }, }, ), Identifier( Identifier { id: "s", span: Span { start: Position { line: 11, column: 79, }, end: Position { line: 11, column: 80, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 37, }, end: Position { line: 11, column: 82, }, }, }, ), span: Span { start: Position { line: 11, column: 34, }, end: Position { line: 11, column: 82, }, }, }, ), Identifier( Identifier { id: "l", span: Span { start: Position { line: 11, column: 84, }, end: Position { line: 11, column: 85, }, }, }, ), ], }, ), span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 11, column: 85, }, }, }, ), span: Span { start: Position { line: 9, column: 19, }, end: Position { line: 11, column: 85, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkKeyValue", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "generators", span: Span { start: Position { line: 12, column: 18, }, end: Position { line: 12, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkKeyValueDefault", span: Span { start: Position { line: 12, column: 29, }, end: Position { line: 12, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 12, column: 47, }, end: Position { line: 12, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: ":", span: Span { start: Position { line: 12, column: 51, }, end: Position { line: 12, column: 52, }, }, }, ), ], span: Span { start: Position { line: 12, column: 50, }, end: Position { line: 12, column: 53, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 29, }, end: Position { line: 13, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 15, column: 3, }, end: Position { line: 15, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 13, }, }, }, ), Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 16, column: 14, }, end: Position { line: 16, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 17, column: 16, }, end: Position { line: 17, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 32, }, end: Position { line: 17, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 17, column: 36, }, end: Position { line: 17, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Moonraker, an API web server for Klipper", span: Span { start: Position { line: 17, column: 43, }, end: Position { line: 17, column: 83, }, }, }, ), ], span: Span { start: Position { line: 17, column: 42, }, end: Position { line: 17, column: 84, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "klipperSocket", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 19, column: 23, }, end: Position { line: 19, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 16, }, end: Position { line: 20, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 20, column: 22, }, end: Position { line: 20, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 21, column: 19, }, end: Position { line: 21, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 21, column: 26, }, end: Position { line: 21, column: 34, }, }, }, ), Raw( PartRaw { content: "klipper", span: Span { start: Position { line: 21, column: 35, }, end: Position { line: 21, column: 42, }, }, }, ), Raw( PartRaw { content: "apiSocket", span: Span { start: Position { line: 21, column: 43, }, end: Position { line: 21, column: 52, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 22, column: 23, }, end: Position { line: 22, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config.services.klipper.apiSocket", span: Span { start: Position { line: 22, column: 42, }, end: Position { line: 22, column: 75, }, }, }, ), ], span: Span { start: Position { line: 22, column: 41, }, end: Position { line: 22, column: 76, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 23, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Path to Klipper's API socket.", span: Span { start: Position { line: 23, column: 34, }, end: Position { line: 23, column: 63, }, }, }, ), ], span: Span { start: Position { line: 23, column: 33, }, end: Position { line: 23, column: 64, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 32, }, end: Position { line: 24, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 26, column: 18, }, end: Position { line: 26, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 16, }, end: Position { line: 27, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/moonraker", span: Span { start: Position { line: 28, column: 20, }, end: Position { line: 28, column: 38, }, }, }, ), ], span: Span { start: Position { line: 28, column: 19, }, end: Position { line: 28, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 29, column: 9, }, end: Position { line: 29, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 29, column: 23, }, end: Position { line: 29, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 29, column: 27, }, end: Position { line: 29, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The directory containing the Moonraker databases.", span: Span { start: Position { line: 29, column: 34, }, end: Position { line: 29, column: 83, }, }, }, ), ], span: Span { start: Position { line: 29, column: 33, }, end: Position { line: 29, column: 84, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 26, column: 27, }, end: Position { line: 30, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configDir", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 32, column: 19, }, end: Position { line: 32, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 16, }, end: Position { line: 33, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 34, column: 23, }, end: Position { line: 34, column: 31, }, }, }, ), ], default: None, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "/config", span: Span { start: Position { line: 34, column: 35, }, end: Position { line: 34, column: 42, }, }, }, ), ], span: Span { start: Position { line: 34, column: 34, }, end: Position { line: 34, column: 43, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 35, column: 23, }, end: Position { line: 35, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "config.", span: Span { start: Position { line: 35, column: 43, }, end: Position { line: 35, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 35, column: 52, }, end: Position { line: 35, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 35, column: 56, }, end: Position { line: 35, column: 64, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " + \"/config\"", span: Span { start: Position { line: 35, column: 43, }, end: Position { line: 35, column: 77, }, }, }, ), ], span: Span { start: Position { line: 35, column: 41, }, end: Position { line: 35, column: 79, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 36, column: 23, }, end: Position { line: 36, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 36, column: 27, }, end: Position { line: 36, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The directory containing client-writable configuration files.\n\nClients will be able to edit files in this directory via the API. This directory must be writable.\n", span: Span { start: Position { line: 37, column: 1, }, end: Position { line: 40, column: 9, }, }, }, ), ], span: Span { start: Position { line: 36, column: 33, }, end: Position { line: 40, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 32, column: 28, }, end: Position { line: 41, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 43, column: 14, }, end: Position { line: 43, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 44, column: 9, }, end: Position { line: 44, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 44, column: 16, }, end: Position { line: 44, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 44, column: 22, }, end: Position { line: 44, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 45, column: 9, }, end: Position { line: 45, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 45, column: 20, }, end: Position { line: 45, column: 29, }, }, }, ), ], span: Span { start: Position { line: 45, column: 19, }, end: Position { line: 45, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 46, column: 23, }, end: Position { line: 46, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 46, column: 27, }, end: Position { line: 46, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "User account under which Moonraker runs.", span: Span { start: Position { line: 46, column: 34, }, end: Position { line: 46, column: 74, }, }, }, ), ], span: Span { start: Position { line: 46, column: 33, }, end: Position { line: 46, column: 75, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 43, column: 23, }, end: Position { line: 47, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 49, column: 15, }, end: Position { line: 49, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 50, column: 9, }, end: Position { line: 50, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 50, column: 16, }, end: Position { line: 50, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 50, column: 22, }, end: Position { line: 50, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 51, column: 20, }, end: Position { line: 51, column: 29, }, }, }, ), ], span: Span { start: Position { line: 51, column: 19, }, end: Position { line: 51, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 52, column: 23, }, end: Position { line: 52, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 52, column: 27, }, end: Position { line: 52, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Group account under which Moonraker runs.", span: Span { start: Position { line: 52, column: 34, }, end: Position { line: 52, column: 75, }, }, }, ), ], span: Span { start: Position { line: 52, column: 33, }, end: Position { line: 52, column: 76, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 49, column: 24, }, end: Position { line: 53, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "address", span: Span { start: Position { line: 55, column: 7, }, end: Position { line: 55, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 55, column: 17, }, end: Position { line: 55, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 56, column: 9, }, end: Position { line: 56, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 56, column: 16, }, end: Position { line: 56, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 56, column: 22, }, end: Position { line: 56, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1", span: Span { start: Position { line: 57, column: 20, }, end: Position { line: 57, column: 29, }, }, }, ), ], span: Span { start: Position { line: 57, column: 19, }, end: Position { line: 57, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0.0.0.0", span: Span { start: Position { line: 58, column: 20, }, end: Position { line: 58, column: 27, }, }, }, ), ], span: Span { start: Position { line: 58, column: 19, }, end: Position { line: 58, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 59, column: 23, }, end: Position { line: 59, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 59, column: 27, }, end: Position { line: 59, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The IP or host to listen on.", span: Span { start: Position { line: 59, column: 34, }, end: Position { line: 59, column: 62, }, }, }, ), ], span: Span { start: Position { line: 59, column: 33, }, end: Position { line: 59, column: 63, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 55, column: 26, }, end: Position { line: 60, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 62, column: 14, }, end: Position { line: 62, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 63, column: 16, }, end: Position { line: 63, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ints", span: Span { start: Position { line: 63, column: 22, }, end: Position { line: 63, column: 26, }, }, }, ), Raw( PartRaw { content: "unsigned", span: Span { start: Position { line: 63, column: 27, }, end: Position { line: 63, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 16, }, }, }, ), ], to: Integer( Integer { value: "7125", span: Span { start: Position { line: 64, column: 19, }, end: Position { line: 64, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 65, column: 23, }, end: Position { line: 65, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 65, column: 27, }, end: Position { line: 65, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The port to listen on.", span: Span { start: Position { line: 65, column: 34, }, end: Position { line: 65, column: 56, }, }, }, ), ], span: Span { start: Position { line: 65, column: 33, }, end: Position { line: 65, column: 57, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 62, column: 23, }, end: Position { line: 66, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 68, column: 18, }, end: Position { line: 68, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 69, column: 16, }, end: Position { line: 69, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 69, column: 23, }, end: Position { line: 69, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 70, column: 19, }, end: Position { line: 70, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "authorization", span: Span { start: Position { line: 72, column: 11, }, end: Position { line: 72, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "trusted_clients", span: Span { start: Position { line: 73, column: 13, }, end: Position { line: 73, column: 28, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "10.0.0.0/24", span: Span { start: Position { line: 73, column: 34, }, end: Position { line: 73, column: 45, }, }, }, ), ], span: Span { start: Position { line: 73, column: 33, }, end: Position { line: 73, column: 46, }, }, }, ), ], span: Span { start: Position { line: 73, column: 31, }, end: Position { line: 73, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cors_domains", span: Span { start: Position { line: 74, column: 13, }, end: Position { line: 74, column: 25, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "https://app.fluidd.xyz", span: Span { start: Position { line: 74, column: 31, }, end: Position { line: 74, column: 53, }, }, }, ), ], span: Span { start: Position { line: 74, column: 30, }, end: Position { line: 74, column: 54, }, }, }, ), ], span: Span { start: Position { line: 74, column: 28, }, end: Position { line: 74, column: 56, }, }, }, ), }, ), ], span: Span { start: Position { line: 72, column: 27, }, end: Position { line: 75, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 71, column: 19, }, end: Position { line: 76, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 77, column: 9, }, end: Position { line: 77, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 77, column: 23, }, end: Position { line: 77, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 77, column: 27, }, end: Position { line: 77, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configuration for Moonraker. See the [documentation](https://moonraker.readthedocs.io/en/latest/configuration/)\nfor supported values.\n", span: Span { start: Position { line: 78, column: 1, }, end: Position { line: 80, column: 9, }, }, }, ), ], span: Span { start: Position { line: 77, column: 33, }, end: Position { line: 80, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 68, column: 27, }, end: Position { line: 81, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowSystemControl", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 83, column: 28, }, end: Position { line: 83, column: 36, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 84, column: 16, }, end: Position { line: 84, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 84, column: 22, }, end: Position { line: 84, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 85, column: 19, }, end: Position { line: 85, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 86, column: 9, }, end: Position { line: 86, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 86, column: 23, }, end: Position { line: 86, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 86, column: 27, }, end: Position { line: 86, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to allow Moonraker to perform system-level operations.\n\nMoonraker exposes APIs to perform system-level operations, such as\nreboot, shutdown, and management of systemd units. See the\n[documentation](https://moonraker.readthedocs.io/en/latest/web_api/#machine-commands)\nfor details on what clients are able to do.\n", span: Span { start: Position { line: 87, column: 1, }, end: Position { line: 93, column: 9, }, }, }, ), ], span: Span { start: Position { line: 86, column: 33, }, end: Position { line: 93, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 83, column: 37, }, end: Position { line: 94, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 26, }, end: Position { line: 95, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 15, column: 13, }, end: Position { line: 96, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 98, column: 3, }, end: Position { line: 98, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 98, column: 12, }, end: Position { line: 98, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 98, column: 17, }, end: Position { line: 98, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 98, column: 21, }, end: Position { line: 98, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warnings", span: Span { start: Position { line: 99, column: 5, }, end: Position { line: 99, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 99, column: 16, }, end: Position { line: 99, column: 24, }, }, }, ), arguments: [ HasAttribute( HasAttribute { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 99, column: 26, }, end: Position { line: 99, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 99, column: 30, }, end: Position { line: 99, column: 38, }, }, }, ), ], default: None, }, ), attribute_path: [ Raw( PartRaw { content: "update_manager", span: Span { start: Position { line: 99, column: 41, }, end: Position { line: 99, column: 55, }, }, }, ), ], }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enabling update_manager is not supported on NixOS and will lead to non-removable warnings in some clients.", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 115, }, }, }, ), ], span: Span { start: Position { line: 100, column: 7, }, end: Position { line: 100, column: 117, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 102, column: 5, }, end: Position { line: 102, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 104, column: 21, }, end: Position { line: 104, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "allowSystemControl", span: Span { start: Position { line: 104, column: 25, }, end: Position { line: 104, column: 43, }, }, }, ), ], default: None, }, ), operator: Implication, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 104, column: 47, }, end: Position { line: 104, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 104, column: 54, }, end: Position { line: 104, column: 62, }, }, }, ), Raw( PartRaw { content: "polkit", span: Span { start: Position { line: 104, column: 63, }, end: Position { line: 104, column: 69, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 104, column: 70, }, end: Position { line: 104, column: 76, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 105, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "services.moonraker.allowSystemControl requires polkit to be enabled (security.polkit.enable).", span: Span { start: Position { line: 105, column: 20, }, end: Position { line: 105, column: 113, }, }, }, ), ], span: Span { start: Position { line: 105, column: 19, }, end: Position { line: 105, column: 114, }, }, }, ), }, ), ], span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 106, column: 8, }, }, }, ), ], span: Span { start: Position { line: 102, column: 18, }, end: Position { line: 107, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 109, column: 5, }, end: Position { line: 109, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 109, column: 11, }, end: Position { line: 109, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 109, column: 19, }, end: Position { line: 109, column: 32, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 109, column: 34, }, end: Position { line: 109, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 109, column: 38, }, end: Position { line: 109, column: 42, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 109, column: 47, }, end: Position { line: 109, column: 56, }, }, }, ), ], span: Span { start: Position { line: 109, column: 46, }, end: Position { line: 109, column: 57, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 110, column: 7, }, end: Position { line: 110, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 111, column: 17, }, end: Position { line: 111, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 111, column: 21, }, end: Position { line: 111, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 112, column: 9, }, end: Position { line: 112, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 112, column: 15, }, end: Position { line: 112, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 112, column: 22, }, end: Position { line: 112, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 112, column: 26, }, end: Position { line: 112, column: 30, }, }, }, ), Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 112, column: 31, }, end: Position { line: 112, column: 40, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 110, column: 19, }, end: Position { line: 113, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 109, column: 59, }, end: Position { line: 114, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 116, column: 5, }, end: Position { line: 116, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 116, column: 11, }, end: Position { line: 116, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 116, column: 20, }, end: Position { line: 116, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 116, column: 35, }, end: Position { line: 116, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 116, column: 39, }, end: Position { line: 116, column: 44, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 116, column: 49, }, end: Position { line: 116, column: 58, }, }, }, ), ], span: Span { start: Position { line: 116, column: 48, }, end: Position { line: 116, column: 59, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 117, column: 7, }, end: Position { line: 117, column: 16, }, }, }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 117, column: 17, }, end: Position { line: 117, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 117, column: 23, }, end: Position { line: 117, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 117, column: 30, }, end: Position { line: 117, column: 33, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 117, column: 34, }, end: Position { line: 117, column: 38, }, }, }, ), Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 117, column: 39, }, end: Position { line: 117, column: 48, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 116, column: 61, }, end: Position { line: 118, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 120, column: 5, }, end: Position { line: 120, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 120, column: 17, }, end: Position { line: 120, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "moonraker.cfg", span: Span { start: Position { line: 120, column: 22, }, end: Position { line: 120, column: 35, }, }, }, ), ], span: Span { start: Position { line: 120, column: 21, }, end: Position { line: 120, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 120, column: 37, }, end: Position { line: 120, column: 43, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "forcedConfig", span: Span { start: Position { line: 121, column: 7, }, end: Position { line: 121, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "server", span: Span { start: Position { line: 122, column: 9, }, end: Position { line: 122, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 123, column: 11, }, end: Position { line: 123, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 123, column: 18, }, end: Position { line: 123, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "address", span: Span { start: Position { line: 123, column: 22, }, end: Position { line: 123, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 124, column: 11, }, end: Position { line: 124, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 124, column: 18, }, end: Position { line: 124, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 124, column: 22, }, end: Position { line: 124, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "klippy_uds_address", span: Span { start: Position { line: 125, column: 11, }, end: Position { line: 125, column: 29, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 125, column: 32, }, end: Position { line: 125, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "klipperSocket", span: Span { start: Position { line: 125, column: 36, }, end: Position { line: 125, column: 49, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 122, column: 18, }, end: Position { line: 126, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "file_manager", span: Span { start: Position { line: 127, column: 9, }, end: Position { line: 127, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config_path", span: Span { start: Position { line: 128, column: 11, }, end: Position { line: 128, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 128, column: 25, }, end: Position { line: 128, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configDir", span: Span { start: Position { line: 128, column: 29, }, end: Position { line: 128, column: 38, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 127, column: 24, }, end: Position { line: 129, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "database_path", span: Span { start: Position { line: 131, column: 11, }, end: Position { line: 131, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 131, column: 30, }, end: Position { line: 131, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 131, column: 34, }, end: Position { line: 131, column: 42, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/database", span: Span { start: Position { line: 131, column: 28, }, end: Position { line: 131, column: 52, }, }, }, ), ], span: Span { start: Position { line: 131, column: 27, }, end: Position { line: 131, column: 53, }, }, }, ), }, ), ], span: Span { start: Position { line: 130, column: 20, }, end: Position { line: 132, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 121, column: 22, }, end: Position { line: 133, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fullConfig", span: Span { start: Position { line: 134, column: 7, }, end: Position { line: 134, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recursiveUpdate", span: Span { start: Position { line: 134, column: 20, }, end: Position { line: 134, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 134, column: 36, }, end: Position { line: 134, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 134, column: 40, }, end: Position { line: 134, column: 48, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "forcedConfig", span: Span { start: Position { line: 134, column: 49, }, end: Position { line: 134, column: 61, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 135, column: 8, }, end: Position { line: 135, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "generate", span: Span { start: Position { line: 135, column: 15, }, end: Position { line: 135, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "moonraker.cfg", span: Span { start: Position { line: 135, column: 25, }, end: Position { line: 135, column: 38, }, }, }, ), ], span: Span { start: Position { line: 135, column: 24, }, end: Position { line: 135, column: 39, }, }, }, ), Identifier( Identifier { id: "fullConfig", span: Span { start: Position { line: 135, column: 40, }, end: Position { line: 135, column: 50, }, }, }, ), ], }, ), span: Span { start: Position { line: 120, column: 46, }, end: Position { line: 135, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 137, column: 5, }, end: Position { line: 137, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 137, column: 13, }, end: Position { line: 137, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 137, column: 22, }, end: Position { line: 137, column: 27, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 138, column: 8, }, end: Position { line: 138, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 138, column: 13, }, end: Position { line: 138, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 138, column: 17, }, end: Position { line: 138, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - ", span: Span { start: Position { line: 138, column: 8, }, end: Position { line: 138, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 138, column: 32, }, end: Position { line: 138, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 138, column: 36, }, end: Position { line: 138, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 138, column: 8, }, end: Position { line: 138, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 138, column: 44, }, end: Position { line: 138, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 138, column: 48, }, end: Position { line: 138, column: 53, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " - -", span: Span { start: Position { line: 138, column: 8, }, end: Position { line: 138, column: 58, }, }, }, ), ], span: Span { start: Position { line: 138, column: 7, }, end: Position { line: 138, column: 59, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 139, column: 8, }, end: Position { line: 139, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 139, column: 13, }, end: Position { line: 139, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configDir", span: Span { start: Position { line: 139, column: 17, }, end: Position { line: 139, column: 26, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - ", span: Span { start: Position { line: 139, column: 8, }, end: Position { line: 139, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 139, column: 33, }, end: Position { line: 139, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 139, column: 37, }, end: Position { line: 139, column: 41, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 139, column: 8, }, end: Position { line: 139, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 139, column: 45, }, end: Position { line: 139, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 139, column: 49, }, end: Position { line: 139, column: 54, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " - -", span: Span { start: Position { line: 139, column: 8, }, end: Position { line: 139, column: 59, }, }, }, ), ], span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 60, }, }, }, ), ], span: Span { start: Position { line: 137, column: 30, }, end: Position { line: 140, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 142, column: 5, }, end: Position { line: 142, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 142, column: 13, }, end: Position { line: 142, column: 21, }, }, }, ), Raw( PartRaw { content: "moonraker", span: Span { start: Position { line: 142, column: 22, }, end: Position { line: 142, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 143, column: 7, }, end: Position { line: 143, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Moonraker, an API web server for Klipper", span: Span { start: Position { line: 143, column: 22, }, end: Position { line: 143, column: 62, }, }, }, ), ], span: Span { start: Position { line: 143, column: 21, }, end: Position { line: 143, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 144, column: 7, }, end: Position { line: 144, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 144, column: 21, }, end: Position { line: 144, column: 38, }, }, }, ), ], span: Span { start: Position { line: 144, column: 20, }, end: Position { line: 144, column: 39, }, }, }, ), ], span: Span { start: Position { line: 144, column: 18, }, end: Position { line: 144, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 145, column: 7, }, end: Position { line: 145, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 145, column: 18, }, end: Position { line: 145, column: 32, }, }, }, ), ], span: Span { start: Position { line: 145, column: 17, }, end: Position { line: 145, column: 33, }, }, }, ), ], span: Span { start: Position { line: 145, column: 15, }, end: Position { line: 145, column: 35, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 146, column: 12, }, end: Position { line: 146, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 146, column: 21, }, end: Position { line: 146, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 146, column: 28, }, end: Position { line: 146, column: 36, }, }, }, ), Raw( PartRaw { content: "klipper", span: Span { start: Position { line: 146, column: 37, }, end: Position { line: 146, column: 44, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 146, column: 45, }, end: Position { line: 146, column: 51, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "klipper.service", span: Span { start: Position { line: 146, column: 53, }, end: Position { line: 146, column: 68, }, }, }, ), ], span: Span { start: Position { line: 146, column: 52, }, end: Position { line: 146, column: 69, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 149, column: 7, }, end: Position { line: 149, column: 13, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cp /etc/moonraker.cfg ", span: Span { start: Position { line: 150, column: 1, }, end: Position { line: 150, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 150, column: 33, }, end: Position { line: 150, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configDir", span: Span { start: Position { line: 150, column: 37, }, end: Position { line: 150, column: 46, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/moonraker-temp.cfg\nchmod u+w ", span: Span { start: Position { line: 150, column: 1, }, end: Position { line: 151, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 151, column: 21, }, end: Position { line: 151, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configDir", span: Span { start: Position { line: 151, column: 25, }, end: Position { line: 151, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/moonraker-temp.cfg\nexec ", span: Span { start: Position { line: 150, column: 1, }, end: Position { line: 152, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 152, column: 16, }, end: Position { line: 152, column: 19, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/moonraker -c ", span: Span { start: Position { line: 150, column: 1, }, end: Position { line: 152, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 152, column: 40, }, end: Position { line: 152, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configDir", span: Span { start: Position { line: 152, column: 44, }, end: Position { line: 152, column: 53, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/moonraker-temp.cfg\n", span: Span { start: Position { line: 150, column: 1, }, end: Position { line: 153, column: 7, }, }, }, ), ], span: Span { start: Position { line: 149, column: 16, }, end: Position { line: 153, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 156, column: 7, }, end: Position { line: 156, column: 11, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 156, column: 16, }, end: Position { line: 156, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "iproute2", span: Span { start: Position { line: 156, column: 21, }, end: Position { line: 156, column: 29, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 156, column: 14, }, end: Position { line: 156, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 158, column: 7, }, end: Position { line: 158, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 159, column: 28, }, end: Position { line: 159, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stateDir", span: Span { start: Position { line: 159, column: 32, }, end: Position { line: 159, column: 40, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 160, column: 9, }, end: Position { line: 160, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 160, column: 22, }, end: Position { line: 160, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 161, column: 9, }, end: Position { line: 161, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 161, column: 17, }, end: Position { line: 161, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 161, column: 21, }, end: Position { line: 161, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 162, column: 9, }, end: Position { line: 162, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 162, column: 16, }, end: Position { line: 162, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 162, column: 20, }, end: Position { line: 162, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 158, column: 23, }, end: Position { line: 163, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 142, column: 34, }, end: Position { line: 164, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 166, column: 5, }, end: Position { line: 166, column: 13, }, }, }, ), Raw( PartRaw { content: "polkit", span: Span { start: Position { line: 166, column: 14, }, end: Position { line: 166, column: 20, }, }, }, ), Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 166, column: 21, }, end: Position { line: 166, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 166, column: 35, }, end: Position { line: 166, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 166, column: 39, }, end: Position { line: 166, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 166, column: 54, }, end: Position { line: 166, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "allowSystemControl", span: Span { start: Position { line: 166, column: 58, }, end: Position { line: 166, column: 76, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "// nixos/moonraker: Allow Moonraker to perform system-level operations\n//\n// This was enabled via services.moonraker.allowSystemControl.\npolkit.addRule(function(action, subject) {\n if ((action.id == \"org.freedesktop.systemd1.manage-units\" ||\n action.id == \"org.freedesktop.login1.power-off\" ||\n action.id == \"org.freedesktop.login1.power-off-multiple-sessions\" ||\n action.id == \"org.freedesktop.login1.reboot\" ||\n action.id == \"org.freedesktop.login1.reboot-multiple-sessions\" ||\n action.id.startsWith(\"org.freedesktop.packagekit.\")) &&\n subject.user == \"", span: Span { start: Position { line: 167, column: 1, }, end: Position { line: 177, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 177, column: 33, }, end: Position { line: 177, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 177, column: 37, }, end: Position { line: 177, column: 41, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\") {\n return polkit.Result.YES;\n }\n});\n", span: Span { start: Position { line: 167, column: 1, }, end: Position { line: 181, column: 5, }, }, }, ), ], span: Span { start: Position { line: 166, column: 77, }, end: Position { line: 181, column: 7, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 98, column: 28, }, end: Position { line: 182, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 184, column: 3, }, end: Position { line: 184, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 184, column: 8, }, end: Position { line: 184, column: 19, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 184, column: 27, }, end: Position { line: 184, column: 38, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "cab404", span: Span { start: Position { line: 185, column: 5, }, end: Position { line: 185, column: 11, }, }, }, ), Identifier( Identifier { id: "vtuan10", span: Span { start: Position { line: 186, column: 5, }, end: Position { line: 186, column: 12, }, }, }, ), ], span: Span { start: Position { line: 184, column: 40, }, end: Position { line: 187, column: 4, }, }, }, ), span: Span { start: Position { line: 184, column: 22, }, end: Position { line: 187, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 4, }, end: Position { line: 188, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 188, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 188, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 188, column: 2, }, }, }, )