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: "plex", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 29, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 10, column: 6, }, end: Position { line: 10, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 10, column: 31, }, end: Position { line: 10, column: 39, }, }, }, ), ], span: Span { start: Position { line: 10, column: 30, }, end: Position { line: 10, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "plex", span: Span { start: Position { line: 10, column: 42, }, end: Position { line: 10, column: 46, }, }, }, ), ], span: Span { start: Position { line: 10, column: 41, }, end: Position { line: 10, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "managePlugins", span: Span { start: Position { line: 10, column: 49, }, end: Position { line: 10, column: 62, }, }, }, ), ], span: Span { start: Position { line: 10, column: 48, }, end: Position { line: 10, column: 63, }, }, }, ), ], span: Span { start: Position { line: 10, column: 28, }, end: Position { line: 10, column: 65, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Please omit or define the option: `services.plex.extraPlugins' instead.", span: Span { start: Position { line: 10, column: 67, }, end: Position { line: 10, column: 138, }, }, }, ), ], span: Span { start: Position { line: 10, column: 66, }, end: Position { line: 10, column: 139, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 11, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 13, }, }, }, ), Raw( PartRaw { content: "plex", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 15, column: 16, }, end: Position { line: 15, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 15, column: 32, }, end: Position { line: 15, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 15, column: 36, }, end: Position { line: 15, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Plex Media Server", span: Span { start: Position { line: 15, column: 43, }, end: Position { line: 15, column: 60, }, }, }, ), ], span: Span { start: Position { line: 15, column: 42, }, end: Position { line: 15, column: 61, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 17, column: 17, }, end: Position { line: 17, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 18, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 18, column: 22, }, end: Position { line: 18, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/plex", span: Span { start: Position { line: 19, column: 20, }, end: Position { line: 19, column: 33, }, }, }, ), ], span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 19, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 23, }, end: Position { line: 20, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 20, column: 27, }, end: Position { line: 20, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The directory where Plex stores its data files.\n", span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 22, column: 9, }, }, }, ), ], span: Span { start: Position { line: 20, column: 33, }, end: Position { line: 22, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 26, }, end: Position { line: 23, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 22, }, end: Position { line: 25, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 16, }, end: Position { line: 26, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 26, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 27, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 23, }, end: Position { line: 28, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Open ports in the firewall for the media server.\n", span: Span { start: Position { line: 29, column: 1, }, end: Position { line: 30, column: 9, }, }, }, ), ], span: Span { start: Position { line: 28, column: 33, }, end: Position { line: 30, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 31, }, end: Position { line: 31, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 33, column: 14, }, end: Position { line: 33, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 34, column: 16, }, end: Position { line: 34, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 34, column: 22, }, end: Position { line: 34, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "plex", span: Span { start: Position { line: 35, column: 20, }, end: Position { line: 35, column: 24, }, }, }, ), ], span: Span { start: Position { line: 35, column: 19, }, end: Position { line: 35, column: 25, }, }, }, ), }, ), 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: "User account under which Plex runs.\n", span: Span { start: Position { line: 37, column: 1, }, end: Position { line: 38, column: 9, }, }, }, ), ], span: Span { start: Position { line: 36, column: 33, }, end: Position { line: 38, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 39, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 41, column: 15, }, end: Position { line: 41, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 42, column: 16, }, end: Position { line: 42, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 42, column: 22, }, end: Position { line: 42, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 43, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "plex", span: Span { start: Position { line: 43, column: 20, }, end: Position { line: 43, column: 24, }, }, }, ), ], span: Span { start: Position { line: 43, column: 19, }, end: Position { line: 43, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 44, column: 9, }, end: Position { line: 44, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 44, column: 23, }, end: Position { line: 44, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 44, column: 27, }, end: Position { line: 44, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Group under which Plex runs.\n", span: Span { start: Position { line: 45, column: 1, }, end: Position { line: 46, column: 9, }, }, }, ), ], span: Span { start: Position { line: 44, column: 33, }, end: Position { line: 46, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 41, column: 24, }, end: Position { line: 47, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraPlugins", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 49, column: 22, }, end: Position { line: 49, column: 30, }, }, }, ), 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: FunctionApplication( FunctionApplication { function: 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: "listOf", span: Span { start: Position { line: 50, column: 22, }, end: Position { line: 50, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 50, column: 29, }, end: Position { line: 50, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 50, column: 35, }, end: Position { line: 50, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 51, column: 19, }, end: Position { line: 51, column: 21, }, }, }, ), }, ), 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: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A list of paths to extra plugin bundles to install in Plex's plugin\ndirectory. Every time the systemd unit for Plex starts up, all of the\nsymlinks in Plex's plugin directory will be cleared and this module\nwill symlink all of the paths specified here to that directory.\n", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 57, column: 9, }, }, }, ), ], span: Span { start: Position { line: 52, column: 33, }, end: Position { line: 57, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 58, column: 19, }, end: Position { line: 58, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[\n (builtins.path {\n name = \"Audnexus.bundle\";\n path = pkgs.fetchFromGitHub {\n owner = \"djdembeck\";\n repo = \"Audnexus.bundle\";\n rev = \"v0.2.8\";\n sha256 = \"sha256-IWOSz3vYL7zhdHan468xNc6C/eQ2C2BukQlaJNLXh7E=\";\n };\n })\n]\n", span: Span { start: Position { line: 59, column: 1, }, end: Position { line: 70, column: 9, }, }, }, ), ], span: Span { start: Position { line: 58, column: 37, }, end: Position { line: 70, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 49, column: 31, }, end: Position { line: 71, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraScanners", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 73, column: 23, }, end: Position { line: 73, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 74, column: 16, }, end: Position { line: 74, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 74, column: 22, }, end: Position { line: 74, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 74, column: 29, }, end: Position { line: 74, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 74, column: 35, }, end: Position { line: 74, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 75, column: 19, }, end: Position { line: 75, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 76, column: 9, }, end: Position { line: 76, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 76, column: 23, }, end: Position { line: 76, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 76, column: 27, }, end: Position { line: 76, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A list of paths to extra scanners to install in Plex's scanners\ndirectory.\n\nEvery time the systemd unit for Plex starts up, all of the symlinks\nin Plex's scanners directory will be cleared and this module will\nsymlink all of the paths specified here to that directory.\n", span: Span { start: Position { line: 77, column: 1, }, end: Position { line: 83, column: 9, }, }, }, ), ], span: Span { start: Position { line: 76, column: 33, }, end: Position { line: 83, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 84, column: 19, }, end: Position { line: 84, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[\n (fetchFromGitHub {\n owner = \"ZeroQI\";\n repo = \"Absolute-Series-Scanner\";\n rev = \"773a39f502a1204b0b0255903cee4ed02c46fde0\";\n sha256 = \"4l+vpiDdC8L/EeJowUgYyB3JPNTZ1sauN8liFAcK+PY=\";\n })\n]\n", span: Span { start: Position { line: 85, column: 1, }, end: Position { line: 93, column: 9, }, }, }, ), ], span: Span { start: Position { line: 84, column: 37, }, end: Position { line: 93, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 73, column: 32, }, end: Position { line: 94, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 96, column: 17, }, end: Position { line: 96, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 97, column: 16, }, end: Position { line: 97, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 97, column: 22, }, end: Position { line: 97, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 98, column: 19, }, end: Position { line: 98, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "plex", span: Span { start: Position { line: 98, column: 24, }, end: Position { line: 98, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 99, column: 23, }, end: Position { line: 99, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.plex", span: Span { start: Position { line: 99, column: 42, }, end: Position { line: 99, column: 51, }, }, }, ), ], span: Span { start: Position { line: 99, column: 41, }, end: Position { line: 99, column: 52, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 100, column: 23, }, end: Position { line: 100, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 100, column: 27, }, end: Position { line: 100, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The Plex package to use. Plex subscribers may wish to use their own\npackage here, pointing to subscriber-only server versions.\n", span: Span { start: Position { line: 101, column: 1, }, end: Position { line: 103, column: 9, }, }, }, ), ], span: Span { start: Position { line: 100, column: 33, }, end: Position { line: 103, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 96, column: 26, }, end: Position { line: 104, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 105, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 13, }, end: Position { line: 106, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 108, column: 3, }, end: Position { line: 108, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 108, column: 12, }, end: Position { line: 108, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 108, column: 17, }, end: Position { line: 108, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 108, column: 21, }, end: Position { line: 108, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 110, column: 5, }, end: Position { line: 110, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 110, column: 13, }, end: Position { line: 110, column: 21, }, }, }, ), Raw( PartRaw { content: "plex", span: Span { start: Position { line: 110, column: 22, }, end: Position { line: 110, column: 26, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 111, column: 7, }, end: Position { line: 111, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Plex Media Server", span: Span { start: Position { line: 111, column: 22, }, end: Position { line: 111, column: 39, }, }, }, ), ], span: Span { start: Position { line: 111, column: 21, }, end: Position { line: 111, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 112, column: 18, }, end: Position { line: 112, column: 32, }, }, }, ), ], span: Span { start: Position { line: 112, column: 17, }, end: Position { line: 112, column: 33, }, }, }, ), ], span: Span { start: Position { line: 112, column: 15, }, end: Position { line: 112, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 113, column: 7, }, end: Position { line: 113, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 113, column: 21, }, end: Position { line: 113, column: 38, }, }, }, ), ], span: Span { start: Position { line: 113, column: 20, }, end: Position { line: 113, column: 39, }, }, }, ), ], span: Span { start: Position { line: 113, column: 18, }, end: Position { line: 113, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 115, column: 7, }, end: Position { line: 115, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 116, column: 17, }, end: Position { line: 116, column: 23, }, }, }, ), ], span: Span { start: Position { line: 116, column: 16, }, end: Position { line: 116, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 117, column: 16, }, end: Position { line: 117, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 117, column: 20, }, end: Position { line: 117, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 118, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 118, column: 17, }, end: Position { line: 118, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 118, column: 21, }, end: Position { line: 118, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStartPre", span: Span { start: Position { line: 122, column: 9, }, end: Position { line: 122, column: 21, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStartScript", span: Span { start: Position { line: 123, column: 11, }, end: Position { line: 123, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 123, column: 28, }, end: Position { line: 123, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeScript", span: Span { start: Position { line: 123, column: 33, }, end: Position { line: 123, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "plex-run-prestart", span: Span { start: Position { line: 123, column: 46, }, end: Position { line: 123, column: 63, }, }, }, ), ], span: Span { start: Position { line: 123, column: 45, }, end: Position { line: 123, column: 64, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "#!", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 124, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 124, column: 17, }, end: Position { line: 124, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bash", span: Span { start: Position { line: 124, column: 22, }, end: Position { line: 124, column: 26, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/bash\n\n# Create data directory if it doesn't exist\nif ! test -d \"$PLEX_DATADIR\"; then\n echo \"Creating initial Plex data directory in: $PLEX_DATADIR\"\n install -d -m 0755 -o \"", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 129, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 129, column: 40, }, end: Position { line: 129, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 129, column: 44, }, end: Position { line: 129, column: 48, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" -g \"", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 129, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 129, column: 57, }, end: Position { line: 129, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 129, column: 61, }, end: Position { line: 129, column: 66, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" \"$PLEX_DATADIR\"\nfi\n", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 131, column: 10, }, }, }, ), ], span: Span { start: Position { line: 123, column: 65, }, end: Position { line: 131, column: 12, }, }, }, ), ], }, ), }, ), ], target: String( String_ { parts: [ Raw( PartRaw { content: "!", span: Span { start: Position { line: 133, column: 12, }, end: Position { line: 133, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "preStartScript", span: Span { start: Position { line: 133, column: 15, }, end: Position { line: 133, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 133, column: 11, }, end: Position { line: 133, column: 31, }, }, }, ), span: Span { start: Position { line: 122, column: 24, }, end: Position { line: 133, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 135, column: 9, }, end: Position { line: 135, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 135, column: 24, }, end: Position { line: 135, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 135, column: 28, }, end: Position { line: 135, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/plexmediaserver", span: Span { start: Position { line: 135, column: 22, }, end: Position { line: 135, column: 56, }, }, }, ), ], span: Span { start: Position { line: 135, column: 21, }, end: Position { line: 135, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "KillSignal", span: Span { start: Position { line: 136, column: 9, }, end: Position { line: 136, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "SIGQUIT", span: Span { start: Position { line: 136, column: 23, }, end: Position { line: 136, column: 30, }, }, }, ), ], span: Span { start: Position { line: 136, column: 22, }, end: Position { line: 136, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PIDFile", span: Span { start: Position { line: 137, column: 9, }, end: Position { line: 137, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 137, column: 22, }, end: Position { line: 137, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 137, column: 26, }, end: Position { line: 137, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/Plex Media Server/plexmediaserver.pid", span: Span { start: Position { line: 137, column: 20, }, end: Position { line: 137, column: 72, }, }, }, ), ], span: Span { start: Position { line: 137, column: 19, }, end: Position { line: 137, column: 73, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 138, column: 9, }, end: Position { line: 138, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 138, column: 20, }, end: Position { line: 138, column: 30, }, }, }, ), ], span: Span { start: Position { line: 138, column: 19, }, end: Position { line: 138, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 115, column: 23, }, end: Position { line: 139, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 141, column: 7, }, end: Position { line: 141, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PLEX_DATADIR", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 21, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 143, column: 22, }, end: Position { line: 143, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 143, column: 26, }, end: Position { line: 143, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PLEX_PLUGINS", span: Span { start: Position { line: 144, column: 9, }, end: Position { line: 144, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStringsSep", span: Span { start: Position { line: 144, column: 22, }, end: Position { line: 144, column: 41, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ":", span: Span { start: Position { line: 144, column: 43, }, end: Position { line: 144, column: 44, }, }, }, ), ], span: Span { start: Position { line: 144, column: 42, }, end: Position { line: 144, column: 45, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 144, column: 46, }, end: Position { line: 144, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toString", span: Span { start: Position { line: 144, column: 55, }, end: Position { line: 144, column: 63, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 144, column: 64, }, end: Position { line: 144, column: 67, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraPlugins", span: Span { start: Position { line: 144, column: 68, }, end: Position { line: 144, column: 80, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PLEX_SCANNERS", span: Span { start: Position { line: 145, column: 9, }, end: Position { line: 145, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStringsSep", span: Span { start: Position { line: 145, column: 23, }, end: Position { line: 145, column: 42, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ":", span: Span { start: Position { line: 145, column: 44, }, end: Position { line: 145, column: 45, }, }, }, ), ], span: Span { start: Position { line: 145, column: 43, }, end: Position { line: 145, column: 46, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 145, column: 47, }, end: Position { line: 145, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toString", span: Span { start: Position { line: 145, column: 56, }, end: Position { line: 145, column: 64, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 145, column: 65, }, end: Position { line: 145, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraScanners", span: Span { start: Position { line: 145, column: 69, }, end: Position { line: 145, column: 82, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LD_LIBRARY_PATH", span: Span { start: Position { line: 153, column: 9, }, end: Position { line: 153, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/opengl-driver/lib", span: Span { start: Position { line: 153, column: 26, }, end: Position { line: 153, column: 48, }, }, }, ), ], span: Span { start: Position { line: 153, column: 25, }, end: Position { line: 153, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS", span: Span { start: Position { line: 155, column: 9, }, end: Position { line: 155, column: 43, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "6", span: Span { start: Position { line: 155, column: 45, }, end: Position { line: 155, column: 46, }, }, }, ), ], span: Span { start: Position { line: 155, column: 44, }, end: Position { line: 155, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PLEX_MEDIA_SERVER_TMPDIR", span: Span { start: Position { line: 156, column: 9, }, end: Position { line: 156, column: 33, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/tmp", span: Span { start: Position { line: 156, column: 35, }, end: Position { line: 156, column: 39, }, }, }, ), ], span: Span { start: Position { line: 156, column: 34, }, end: Position { line: 156, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PLEX_MEDIA_SERVER_USE_SYSLOG", span: Span { start: Position { line: 157, column: 9, }, end: Position { line: 157, column: 37, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "true", span: Span { start: Position { line: 157, column: 39, }, end: Position { line: 157, column: 43, }, }, }, ), ], span: Span { start: Position { line: 157, column: 38, }, end: Position { line: 157, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LC_ALL", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "en_US.UTF-8", span: Span { start: Position { line: 158, column: 17, }, end: Position { line: 158, column: 28, }, }, }, ), ], span: Span { start: Position { line: 158, column: 16, }, end: Position { line: 158, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LANG", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "en_US.UTF-8", span: Span { start: Position { line: 159, column: 15, }, end: Position { line: 159, column: 26, }, }, }, ), ], span: Span { start: Position { line: 159, column: 14, }, end: Position { line: 159, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 141, column: 21, }, end: Position { line: 160, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 110, column: 29, }, end: Position { line: 161, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 163, column: 5, }, end: Position { line: 163, column: 15, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 163, column: 16, }, end: Position { line: 163, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 163, column: 27, }, end: Position { line: 163, column: 31, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 163, column: 32, }, end: Position { line: 163, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 163, column: 36, }, end: Position { line: 163, column: 48, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowedTCPPorts", span: Span { start: Position { line: 164, column: 7, }, end: Position { line: 164, column: 22, }, }, }, ), ], to: List( List { elements: [ Integer( Integer { value: "32400", span: Span { start: Position { line: 164, column: 27, }, end: Position { line: 164, column: 32, }, }, }, ), Integer( Integer { value: "3005", span: Span { start: Position { line: 164, column: 33, }, end: Position { line: 164, column: 37, }, }, }, ), Integer( Integer { value: "8324", span: Span { start: Position { line: 164, column: 38, }, end: Position { line: 164, column: 42, }, }, }, ), Integer( Integer { value: "32469", span: Span { start: Position { line: 164, column: 43, }, end: Position { line: 164, column: 48, }, }, }, ), ], span: Span { start: Position { line: 164, column: 25, }, end: Position { line: 164, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowedUDPPorts", span: Span { start: Position { line: 165, column: 7, }, end: Position { line: 165, column: 22, }, }, }, ), ], to: List( List { elements: [ Integer( Integer { value: "1900", span: Span { start: Position { line: 165, column: 27, }, end: Position { line: 165, column: 31, }, }, }, ), Integer( Integer { value: "5353", span: Span { start: Position { line: 165, column: 32, }, end: Position { line: 165, column: 36, }, }, }, ), Integer( Integer { value: "32410", span: Span { start: Position { line: 165, column: 37, }, end: Position { line: 165, column: 42, }, }, }, ), Integer( Integer { value: "32412", span: Span { start: Position { line: 165, column: 43, }, end: Position { line: 165, column: 48, }, }, }, ), Integer( Integer { value: "32413", span: Span { start: Position { line: 165, column: 49, }, end: Position { line: 165, column: 54, }, }, }, ), Integer( Integer { value: "32414", span: Span { start: Position { line: 165, column: 55, }, end: Position { line: 165, column: 60, }, }, }, ), ], span: Span { start: Position { line: 165, column: 25, }, end: Position { line: 165, column: 62, }, }, }, ), }, ), ], span: Span { start: Position { line: 163, column: 49, }, end: Position { line: 166, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 168, column: 5, }, end: Position { line: 168, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 168, column: 11, }, end: Position { line: 168, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 168, column: 19, }, end: Position { line: 168, column: 23, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 168, column: 25, }, end: Position { line: 168, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 168, column: 29, }, end: Position { line: 168, column: 33, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "plex", span: Span { start: Position { line: 168, column: 38, }, end: Position { line: 168, column: 42, }, }, }, ), ], span: Span { start: Position { line: 168, column: 37, }, end: Position { line: 168, column: 43, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "plex", span: Span { start: Position { line: 169, column: 7, }, end: Position { line: 169, column: 11, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 170, column: 9, }, end: Position { line: 170, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 170, column: 17, }, end: Position { line: 170, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 170, column: 21, }, end: Position { line: 170, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 171, column: 9, }, end: Position { line: 171, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 171, column: 15, }, end: Position { line: 171, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 171, column: 22, }, end: Position { line: 171, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 171, column: 26, }, end: Position { line: 171, column: 30, }, }, }, ), Raw( PartRaw { content: "plex", span: Span { start: Position { line: 171, column: 31, }, end: Position { line: 171, column: 35, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 169, column: 14, }, end: Position { line: 172, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 168, column: 45, }, end: Position { line: 173, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 175, column: 5, }, end: Position { line: 175, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 175, column: 11, }, end: Position { line: 175, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 175, column: 20, }, end: Position { line: 175, column: 24, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 175, column: 26, }, end: Position { line: 175, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 175, column: 30, }, end: Position { line: 175, column: 35, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "plex", span: Span { start: Position { line: 175, column: 40, }, end: Position { line: 175, column: 44, }, }, }, ), ], span: Span { start: Position { line: 175, column: 39, }, end: Position { line: 175, column: 45, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "plex", span: Span { start: Position { line: 176, column: 7, }, end: Position { line: 176, column: 11, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gid", span: Span { start: Position { line: 177, column: 9, }, end: Position { line: 177, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 177, column: 15, }, end: Position { line: 177, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 177, column: 22, }, end: Position { line: 177, column: 25, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 177, column: 26, }, end: Position { line: 177, column: 30, }, }, }, ), Raw( PartRaw { content: "plex", span: Span { start: Position { line: 177, column: 31, }, end: Position { line: 177, column: 35, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 176, column: 14, }, end: Position { line: 178, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 175, column: 47, }, end: Position { line: 179, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 108, column: 28, }, end: Position { line: 180, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 181, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 181, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 181, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 181, column: 2, }, }, }, )