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: "radarr", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 31, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 13, }, }, }, ), Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 12, column: 16, }, end: Position { line: 12, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 32, }, end: Position { line: 12, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 12, column: 36, }, end: Position { line: 12, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Radarr", span: Span { start: Position { line: 12, column: 43, }, end: Position { line: 12, column: 49, }, }, }, ), ], span: Span { start: Position { line: 12, column: 42, }, end: Position { line: 12, column: 50, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 17, }, end: Position { line: 14, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 15, column: 23, }, end: Position { line: 15, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 15, column: 27, }, end: Position { line: 15, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Radarr package to use", span: Span { start: Position { line: 15, column: 34, }, end: Position { line: 15, column: 55, }, }, }, ), ], span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 56, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 16, column: 19, }, end: Position { line: 16, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 16, column: 24, }, end: Position { line: 16, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 17, column: 23, }, end: Position { line: 17, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.radarr", span: Span { start: Position { line: 17, column: 42, }, end: Position { line: 17, column: 53, }, }, }, ), ], span: Span { start: Position { line: 17, column: 41, }, end: Position { line: 17, column: 54, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 18, column: 19, }, end: Position { line: 18, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.radarr", span: Span { start: Position { line: 18, column: 38, }, end: Position { line: 18, column: 49, }, }, }, ), ], span: Span { start: Position { line: 18, column: 37, }, end: Position { line: 18, column: 50, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 19, column: 22, }, end: Position { line: 19, column: 29, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 14, column: 26, }, end: Position { line: 20, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 23, column: 22, }, end: Position { line: 23, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/radarr/.config/Radarr", span: Span { start: Position { line: 24, column: 20, }, end: Position { line: 24, column: 50, }, }, }, ), ], span: Span { start: Position { line: 24, column: 19, }, end: Position { line: 24, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 25, column: 23, }, end: Position { line: 25, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 25, column: 27, }, end: Position { line: 25, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The directory where Radarr stores its data files.", span: Span { start: Position { line: 25, column: 34, }, end: Position { line: 25, column: 83, }, }, }, ), ], span: Span { start: Position { line: 25, column: 33, }, end: Position { line: 25, column: 84, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 26, }, end: Position { line: 26, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 28, column: 22, }, end: Position { line: 28, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 29, column: 9, }, end: Position { line: 29, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 29, column: 16, }, end: Position { line: 29, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 29, column: 22, }, end: Position { line: 29, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 30, column: 9, }, end: Position { line: 30, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 30, column: 19, }, end: Position { line: 30, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 31, column: 23, }, end: Position { line: 31, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 31, column: 27, }, end: Position { line: 31, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Open ports in the firewall for the Radarr web interface.", span: Span { start: Position { line: 31, column: 34, }, end: Position { line: 31, column: 90, }, }, }, ), ], span: Span { start: Position { line: 31, column: 33, }, end: Position { line: 31, column: 91, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 28, column: 31, }, end: Position { line: 32, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 34, column: 14, }, end: Position { line: 34, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 35, column: 16, }, end: Position { line: 35, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 35, column: 22, }, end: Position { line: 35, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 36, column: 20, }, end: Position { line: 36, column: 26, }, }, }, ), ], span: Span { start: Position { line: 36, column: 19, }, end: Position { line: 36, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 37, column: 23, }, end: Position { line: 37, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 37, column: 27, }, end: Position { line: 37, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "User account under which Radarr runs.", span: Span { start: Position { line: 37, column: 34, }, end: Position { line: 37, column: 71, }, }, }, ), ], span: Span { start: Position { line: 37, column: 33, }, end: Position { line: 37, column: 72, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 34, column: 23, }, end: Position { line: 38, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 40, column: 15, }, end: Position { line: 40, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 41, column: 16, }, end: Position { line: 41, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 41, column: 22, }, end: Position { line: 41, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 42, column: 20, }, end: Position { line: 42, column: 26, }, }, }, ), ], span: Span { start: Position { line: 42, column: 19, }, end: Position { line: 42, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 43, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 43, column: 23, }, end: Position { line: 43, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 43, column: 27, }, end: Position { line: 43, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Group under which Radarr runs.", span: Span { start: Position { line: 43, column: 34, }, end: Position { line: 43, column: 64, }, }, }, ), ], span: Span { start: Position { line: 43, column: 33, }, end: Position { line: 43, column: 65, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 40, column: 24, }, end: Position { line: 44, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 23, }, end: Position { line: 45, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 13, }, end: Position { line: 46, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 48, column: 3, }, end: Position { line: 48, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 48, column: 12, }, end: Position { line: 48, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 48, column: 17, }, end: Position { line: 48, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 48, column: 21, }, end: Position { line: 48, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 49, column: 13, }, end: Position { line: 49, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 49, column: 22, }, end: Position { line: 49, column: 27, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 50, column: 8, }, end: Position { line: 50, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 50, column: 13, }, end: Position { line: 50, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 50, column: 17, }, end: Position { line: 50, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' 0700 ", span: Span { start: Position { line: 50, column: 8, }, end: Position { line: 50, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 50, column: 34, }, end: Position { line: 50, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 50, column: 38, }, end: Position { line: 50, column: 42, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 50, column: 8, }, end: Position { line: 50, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 50, column: 46, }, end: Position { line: 50, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 50, column: 50, }, end: Position { line: 50, column: 55, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " - -", span: Span { start: Position { line: 50, column: 8, }, end: Position { line: 50, column: 60, }, }, }, ), ], span: Span { start: Position { line: 50, column: 7, }, end: Position { line: 50, column: 61, }, }, }, ), ], span: Span { start: Position { line: 49, column: 30, }, end: Position { line: 51, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 53, column: 5, }, end: Position { line: 53, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 53, column: 13, }, end: Position { line: 53, column: 21, }, }, }, ), Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 53, column: 22, }, end: Position { line: 53, column: 28, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Radarr", span: Span { start: Position { line: 54, column: 22, }, end: Position { line: 54, column: 28, }, }, }, ), ], span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 55, column: 7, }, end: Position { line: 55, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 55, column: 18, }, end: Position { line: 55, column: 32, }, }, }, ), ], span: Span { start: Position { line: 55, column: 17, }, end: Position { line: 55, column: 33, }, }, }, ), ], span: Span { start: Position { line: 55, column: 15, }, end: Position { line: 55, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 56, column: 21, }, end: Position { line: 56, column: 38, }, }, }, ), ], span: Span { start: Position { line: 56, column: 20, }, end: Position { line: 56, column: 39, }, }, }, ), ], span: Span { start: Position { line: 56, column: 18, }, end: Position { line: 56, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 58, column: 7, }, end: Position { line: 58, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 59, column: 17, }, end: Position { line: 59, column: 23, }, }, }, ), ], span: Span { start: Position { line: 59, column: 16, }, end: Position { line: 59, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 60, column: 16, }, end: Position { line: 60, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 60, column: 20, }, end: Position { line: 60, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 61, column: 17, }, end: Position { line: 61, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 61, column: 21, }, end: Position { line: 61, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 62, column: 24, }, end: Position { line: 62, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 62, column: 28, }, end: Position { line: 62, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/Radarr -nobrowser -data='", span: Span { start: Position { line: 62, column: 22, }, end: Position { line: 62, column: 66, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 62, column: 68, }, end: Position { line: 62, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 62, column: 72, }, end: Position { line: 62, column: 79, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 62, column: 22, }, end: Position { line: 62, column: 81, }, }, }, ), ], span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 82, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 63, column: 20, }, end: Position { line: 63, column: 30, }, }, }, ), ], span: Span { start: Position { line: 63, column: 19, }, end: Position { line: 63, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 58, column: 23, }, end: Position { line: 64, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 53, column: 31, }, end: Position { line: 65, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 67, column: 5, }, end: Position { line: 67, column: 15, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 67, column: 16, }, end: Position { line: 67, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 67, column: 27, }, end: Position { line: 67, column: 31, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 67, column: 32, }, end: Position { line: 67, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 67, column: 36, }, end: Position { line: 67, column: 48, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowedTCPPorts", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 22, }, }, }, ), ], to: List( List { elements: [ Integer( Integer { value: "7878", span: Span { start: Position { line: 68, column: 27, }, end: Position { line: 68, column: 31, }, }, }, ), ], span: Span { start: Position { line: 68, column: 25, }, end: Position { line: 68, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 67, column: 49, }, end: Position { line: 69, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 71, column: 5, }, end: Position { line: 71, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 71, column: 11, }, end: Position { line: 71, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 71, column: 19, }, end: Position { line: 71, column: 23, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 71, column: 25, }, end: Position { line: 71, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 71, column: 29, }, end: Position { line: 71, column: 33, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 71, column: 38, }, end: Position { line: 71, column: 44, }, }, }, ), ], span: Span { start: Position { line: 71, column: 37, }, end: Position { line: 71, column: 45, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 13, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 73, column: 17, }, end: Position { line: 73, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 73, column: 21, }, end: Position { line: 73, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 74, column: 16, }, end: Position { line: 74, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 74, column: 20, }, end: Position { line: 74, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 75, column: 15, }, end: Position { line: 75, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 75, column: 22, }, end: Position { line: 75, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 75, column: 26, }, end: Position { line: 75, column: 30, }, }, }, ), Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 75, column: 31, }, end: Position { line: 75, column: 37, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 72, column: 16, }, end: Position { line: 76, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 71, column: 47, }, end: Position { line: 77, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 79, column: 5, }, end: Position { line: 79, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 79, column: 11, }, end: Position { line: 79, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 79, column: 20, }, end: Position { line: 79, column: 24, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 79, column: 26, }, end: Position { line: 79, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 79, column: 30, }, end: Position { line: 79, column: 35, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 79, column: 40, }, end: Position { line: 79, column: 46, }, }, }, ), ], span: Span { start: Position { line: 79, column: 39, }, end: Position { line: 79, column: 47, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 13, }, }, }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 80, column: 14, }, end: Position { line: 80, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 80, column: 20, }, end: Position { line: 80, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 80, column: 30, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 80, column: 31, }, end: Position { line: 80, column: 35, }, }, }, ), Raw( PartRaw { content: "radarr", span: Span { start: Position { line: 80, column: 36, }, end: Position { line: 80, column: 42, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 79, column: 49, }, end: Position { line: 81, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 48, column: 28, }, end: Position { line: 82, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 83, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 83, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 83, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 83, column: 2, }, }, }, )