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: 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: "paperless", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 6, column: 13, }, end: Position { line: 6, column: 20, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultUser", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "paperless", span: Span { start: Position { line: 8, column: 18, }, end: Position { line: 8, column: 27, }, }, }, ), ], span: Span { start: Position { line: 8, column: 17, }, end: Position { line: 8, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableRedis", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 14, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasAttr", span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "PAPERLESS_REDIS", span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 11, column: 42, }, }, }, ), ], span: Span { start: Position { line: 11, column: 26, }, end: Position { line: 11, column: 43, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 11, column: 44, }, end: Position { line: 11, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 11, column: 48, }, end: Position { line: 11, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 11, column: 59, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "redisServer", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 12, column: 32, }, }, }, ), Raw( PartRaw { content: "redis", span: Span { start: Position { line: 12, column: 33, }, end: Position { line: 12, column: 38, }, }, }, ), Raw( PartRaw { content: "servers", span: Span { start: Position { line: 12, column: 39, }, end: Position { line: 12, column: 46, }, }, }, ), Raw( PartRaw { content: "paperless", span: Span { start: Position { line: 12, column: 47, }, end: Position { line: 12, column: 56, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "env", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 6, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PAPERLESS_DATA_DIR", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 26, }, end: Position { line: 15, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 15, column: 30, }, end: Position { line: 15, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PAPERLESS_MEDIA_ROOT", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 28, }, end: Position { line: 16, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mediaDir", span: Span { start: Position { line: 16, column: 32, }, end: Position { line: 16, column: 40, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PAPERLESS_CONSUMPTION_DIR", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 30, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 17, column: 33, }, end: Position { line: 17, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "consumptionDir", span: Span { start: Position { line: 17, column: 37, }, end: Position { line: 17, column: 51, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "GUNICORN_CMD_ARGS", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "--bind=", span: Span { start: Position { line: 18, column: 26, }, end: Position { line: 18, column: 47, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 18, column: 35, }, end: Position { line: 18, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "address", span: Span { start: Position { line: 18, column: 39, }, end: Position { line: 18, column: 46, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 18, column: 26, }, end: Position { line: 18, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 18, column: 50, }, end: Position { line: 18, column: 58, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 18, column: 59, }, end: Position { line: 18, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 18, column: 63, }, end: Position { line: 18, column: 67, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 69, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 19, column: 4, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 19, column: 8, }, end: Position { line: 19, column: 21, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 19, column: 23, }, end: Position { line: 19, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "time", span: Span { start: Position { line: 19, column: 30, }, end: Position { line: 19, column: 34, }, }, }, ), Raw( PartRaw { content: "timeZone", span: Span { start: Position { line: 19, column: 35, }, end: Position { line: 19, column: 43, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 19, column: 47, }, end: Position { line: 19, column: 51, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PAPERLESS_TIME_ZONE", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 24, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 20, column: 27, }, end: Position { line: 20, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "time", span: Span { start: Position { line: 20, column: 34, }, end: Position { line: 20, column: 38, }, }, }, ), Raw( PartRaw { content: "timeZone", span: Span { start: Position { line: 20, column: 39, }, end: Position { line: 20, column: 47, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 19, column: 53, }, end: Position { line: 21, column: 4, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 21, column: 8, }, end: Position { line: 21, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "enableRedis", span: Span { start: Position { line: 21, column: 22, }, end: Position { line: 21, column: 33, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PAPERLESS_REDIS", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "unix://", span: Span { start: Position { line: 22, column: 24, }, end: Position { line: 22, column: 56, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "redisServer", span: Span { start: Position { line: 22, column: 33, }, end: Position { line: 22, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unixSocket", span: Span { start: Position { line: 22, column: 45, }, end: Position { line: 22, column: 55, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 22, column: 23, }, end: Position { line: 22, column: 57, }, }, }, ), }, ), ], span: Span { start: Position { line: 21, column: 34, }, end: Position { line: 23, column: 4, }, }, }, ), ], }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 8, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrs", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 17, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "_", }, ), body: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 24, column: 22, }, end: Position { line: 24, column: 30, }, }, }, ), span: Span { start: Position { line: 24, column: 19, }, end: Position { line: 24, column: 30, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 24, column: 32, }, end: Position { line: 24, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 24, column: 36, }, end: Position { line: 24, column: 47, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "manage", span: Span { start: Position { line: 27, column: 3, }, end: Position { line: 27, column: 9, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "setupEnv", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 16, }, end: Position { line: 28, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 28, column: 20, }, end: Position { line: 28, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 28, column: 38, }, end: Position { line: 28, column: 40, }, }, }, ), ], span: Span { start: Position { line: 28, column: 37, }, end: Position { line: 28, column: 41, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 28, column: 43, }, end: Position { line: 28, column: 57, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "val", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "export ", span: Span { start: Position { line: 28, column: 71, }, end: Position { line: 28, column: 85, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 28, column: 80, }, end: Position { line: 28, column: 84, }, }, }, ), }, ), Raw( PartRaw { content: "=\"", span: Span { start: Position { line: 28, column: 71, }, end: Position { line: 28, column: 88, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "val", span: Span { start: Position { line: 28, column: 90, }, end: Position { line: 28, column: 93, }, }, }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 28, column: 71, }, end: Position { line: 28, column: 96, }, }, }, ), ], span: Span { start: Position { line: 28, column: 70, }, end: Position { line: 28, column: 97, }, }, }, ), span: Span { start: Position { line: 28, column: 65, }, end: Position { line: 28, column: 97, }, }, }, ), span: Span { start: Position { line: 28, column: 59, }, end: Position { line: 28, column: 97, }, }, }, ), Identifier( Identifier { id: "env", span: Span { start: Position { line: 28, column: 99, }, end: Position { line: 28, column: 102, }, }, }, ), ], }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 29, column: 6, }, end: Position { line: 29, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeShellScript", span: Span { start: Position { line: 29, column: 11, }, end: Position { line: 29, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "manage", span: Span { start: Position { line: 29, column: 29, }, end: Position { line: 29, column: 35, }, }, }, ), ], span: Span { start: Position { line: 29, column: 28, }, end: Position { line: 29, column: 36, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 30, column: 1, }, end: Position { line: 30, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "setupEnv", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 15, }, }, }, ), }, ), Raw( PartRaw { content: "\nexec ", span: Span { start: Position { line: 30, column: 1, }, end: Position { line: 31, column: 10, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 31, column: 12, }, end: Position { line: 31, column: 15, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/paperless-ngx \"$@\"\n", span: Span { start: Position { line: 30, column: 1, }, end: Position { line: 32, column: 3, }, }, }, ), ], span: Span { start: Position { line: 29, column: 37, }, end: Position { line: 32, column: 5, }, }, }, ), ], }, ), span: Span { start: Position { line: 27, column: 12, }, end: Position { line: 32, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultServiceConfig", span: Span { start: Position { line: 35, column: 3, }, end: Position { line: 35, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "TemporaryFileSystem", span: Span { start: Position { line: 36, column: 5, }, end: Position { line: 36, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/:ro", span: Span { start: Position { line: 36, column: 28, }, end: Position { line: 36, column: 32, }, }, }, ), ], span: Span { start: Position { line: 36, column: 27, }, end: Position { line: 36, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "BindReadOnlyPaths", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 22, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/nix/store", span: Span { start: Position { line: 38, column: 8, }, end: Position { line: 38, column: 18, }, }, }, ), ], span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 19, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-/etc/resolv.conf", span: Span { start: Position { line: 39, column: 8, }, end: Position { line: 39, column: 25, }, }, }, ), ], span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 26, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-/etc/nsswitch.conf", span: Span { start: Position { line: 40, column: 8, }, end: Position { line: 40, column: 27, }, }, }, ), ], span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 28, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-/etc/hosts", span: Span { start: Position { line: 41, column: 8, }, end: Position { line: 41, column: 19, }, }, }, ), ], span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 20, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-/etc/localtime", span: Span { start: Position { line: 42, column: 8, }, end: Position { line: 42, column: 23, }, }, }, ), ], span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 24, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-/run/postgresql", span: Span { start: Position { line: 43, column: 8, }, end: Position { line: 43, column: 24, }, }, }, ), ], span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 25, }, }, }, ), ], span: Span { start: Position { line: 37, column: 25, }, end: Position { line: 44, column: 6, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 44, column: 11, }, end: Position { line: 44, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "enableRedis", span: Span { start: Position { line: 44, column: 20, }, end: Position { line: 44, column: 31, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "redisServer", span: Span { start: Position { line: 44, column: 32, }, end: Position { line: 44, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unixSocket", span: Span { start: Position { line: 44, column: 44, }, end: Position { line: 44, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "BindPaths", span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 45, column: 14, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "consumptionDir", span: Span { start: Position { line: 46, column: 11, }, end: Position { line: 46, column: 25, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 47, column: 11, }, end: Position { line: 47, column: 18, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 48, column: 7, }, end: Position { line: 48, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mediaDir", span: Span { start: Position { line: 48, column: 11, }, end: Position { line: 48, column: 19, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 45, column: 17, }, end: Position { line: 49, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CapabilityBoundingSet", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 26, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 50, column: 29, }, end: Position { line: 50, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DeviceAllow", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 52, column: 19, }, end: Position { line: 52, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LockPersonality", span: Span { start: Position { line: 53, column: 5, }, end: Position { line: 53, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 53, column: 23, }, end: Position { line: 53, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "MemoryDenyWriteExecute", span: Span { start: Position { line: 54, column: 5, }, end: Position { line: 54, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 54, column: 30, }, end: Position { line: 54, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NoNewPrivileges", span: Span { start: Position { line: 55, column: 5, }, end: Position { line: 55, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 55, column: 23, }, end: Position { line: 55, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateDevices", span: Span { start: Position { line: 56, column: 5, }, end: Position { line: 56, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 56, column: 22, }, end: Position { line: 56, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateMounts", span: Span { start: Position { line: 57, column: 5, }, end: Position { line: 57, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 57, column: 21, }, end: Position { line: 57, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateNetwork", span: Span { start: Position { line: 58, column: 5, }, end: Position { line: 58, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 58, column: 22, }, end: Position { line: 58, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 59, column: 5, }, end: Position { line: 59, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 59, column: 18, }, end: Position { line: 59, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateUsers", span: Span { start: Position { line: 60, column: 5, }, end: Position { line: 60, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 60, column: 20, }, end: Position { line: 60, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectClock", span: Span { start: Position { line: 61, column: 5, }, end: Position { line: 61, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 61, column: 20, }, end: Position { line: 61, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHostname", span: Span { start: Position { line: 65, column: 5, }, end: Position { line: 65, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 65, column: 23, }, end: Position { line: 65, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectControlGroups", span: Span { start: Position { line: 68, column: 5, }, end: Position { line: 68, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 68, column: 28, }, end: Position { line: 68, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelLogs", span: Span { start: Position { line: 69, column: 5, }, end: Position { line: 69, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 69, column: 25, }, end: Position { line: 69, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelModules", span: Span { start: Position { line: 70, column: 5, }, end: Position { line: 70, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 70, column: 28, }, end: Position { line: 70, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelTunables", span: Span { start: Position { line: 71, column: 5, }, end: Position { line: 71, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 71, column: 29, }, end: Position { line: 71, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectProc", span: Span { start: Position { line: 72, column: 5, }, end: Position { line: 72, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "invisible", span: Span { start: Position { line: 72, column: 20, }, end: Position { line: 72, column: 29, }, }, }, ), ], span: Span { start: Position { line: 72, column: 19, }, end: Position { line: 72, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictAddressFamilies", span: Span { start: Position { line: 77, column: 5, }, end: Position { line: 77, column: 28, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "AF_UNIX", span: Span { start: Position { line: 77, column: 34, }, end: Position { line: 77, column: 41, }, }, }, ), ], span: Span { start: Position { line: 77, column: 33, }, end: Position { line: 77, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "AF_INET", span: Span { start: Position { line: 77, column: 44, }, end: Position { line: 77, column: 51, }, }, }, ), ], span: Span { start: Position { line: 77, column: 43, }, end: Position { line: 77, column: 52, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "AF_INET6", span: Span { start: Position { line: 77, column: 54, }, end: Position { line: 77, column: 62, }, }, }, ), ], span: Span { start: Position { line: 77, column: 53, }, end: Position { line: 77, column: 63, }, }, }, ), ], span: Span { start: Position { line: 77, column: 31, }, end: Position { line: 77, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictNamespaces", span: Span { start: Position { line: 78, column: 5, }, end: Position { line: 78, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 78, column: 26, }, end: Position { line: 78, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictRealtime", span: Span { start: Position { line: 79, column: 5, }, end: Position { line: 79, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 79, column: 24, }, end: Position { line: 79, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestrictSUIDSGID", span: Span { start: Position { line: 80, column: 5, }, end: Position { line: 80, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 80, column: 24, }, end: Position { line: 80, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SupplementaryGroups", span: Span { start: Position { line: 81, column: 5, }, end: Position { line: 81, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "enableRedis", span: Span { start: Position { line: 81, column: 36, }, end: Position { line: 81, column: 47, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "redisServer", span: Span { start: Position { line: 81, column: 48, }, end: Position { line: 81, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 81, column: 60, }, end: Position { line: 81, column: 64, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallArchitectures", span: Span { start: Position { line: 82, column: 5, }, end: Position { line: 82, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "native", span: Span { start: Position { line: 82, column: 32, }, end: Position { line: 82, column: 38, }, }, }, ), ], span: Span { start: Position { line: 82, column: 31, }, end: Position { line: 82, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallFilter", span: Span { start: Position { line: 83, column: 5, }, end: Position { line: 83, column: 21, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "@system-service", span: Span { start: Position { line: 83, column: 27, }, end: Position { line: 83, column: 42, }, }, }, ), ], span: Span { start: Position { line: 83, column: 26, }, end: Position { line: 83, column: 43, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "~@privileged @setuid @keyring", span: Span { start: Position { line: 83, column: 45, }, end: Position { line: 83, column: 74, }, }, }, ), ], span: Span { start: Position { line: 83, column: 44, }, end: Position { line: 83, column: 75, }, }, }, ), ], span: Span { start: Position { line: 83, column: 24, }, end: Position { line: 83, column: 77, }, }, }, ), }, ), ], span: Span { start: Position { line: 35, column: 26, }, end: Position { line: 86, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 89, column: 3, }, end: Position { line: 89, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 89, column: 8, }, end: Position { line: 89, column: 19, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 89, column: 27, }, end: Position { line: 89, column: 38, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "erikarvstedt", span: Span { start: Position { line: 89, column: 42, }, end: Position { line: 89, column: 54, }, }, }, ), Identifier( Identifier { id: "Flakebi", span: Span { start: Position { line: 89, column: 55, }, end: Position { line: 89, column: 62, }, }, }, ), ], span: Span { start: Position { line: 89, column: 40, }, end: Position { line: 89, column: 64, }, }, }, ), span: Span { start: Position { line: 89, column: 22, }, end: Position { line: 89, column: 64, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 91, column: 3, }, end: Position { line: 91, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 92, column: 6, }, end: Position { line: 92, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 92, column: 31, }, end: Position { line: 92, column: 39, }, }, }, ), ], span: Span { start: Position { line: 92, column: 30, }, end: Position { line: 92, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "paperless-ng", span: Span { start: Position { line: 92, column: 42, }, end: Position { line: 92, column: 54, }, }, }, ), ], span: Span { start: Position { line: 92, column: 41, }, end: Position { line: 92, column: 55, }, }, }, ), ], span: Span { start: Position { line: 92, column: 28, }, end: Position { line: 92, column: 57, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 92, column: 61, }, end: Position { line: 92, column: 69, }, }, }, ), ], span: Span { start: Position { line: 92, column: 60, }, end: Position { line: 92, column: 70, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "paperless", span: Span { start: Position { line: 92, column: 72, }, end: Position { line: 92, column: 81, }, }, }, ), ], span: Span { start: Position { line: 92, column: 71, }, end: Position { line: 92, column: 82, }, }, }, ), ], span: Span { start: Position { line: 92, column: 58, }, end: Position { line: 92, column: 84, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 91, column: 13, }, end: Position { line: 93, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 95, column: 3, }, end: Position { line: 95, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 95, column: 11, }, end: Position { line: 95, column: 19, }, }, }, ), Raw( PartRaw { content: "paperless", span: Span { start: Position { line: 95, column: 20, }, end: Position { line: 95, column: 29, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 96, column: 5, }, end: Position { line: 96, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 96, column: 14, }, end: Position { line: 96, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 97, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 97, column: 14, }, end: Position { line: 97, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 97, column: 18, }, end: Position { line: 97, column: 23, }, }, }, ), Raw( PartRaw { content: "bool", span: Span { start: Position { line: 97, column: 24, }, end: Position { line: 97, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 98, column: 7, }, end: Position { line: 98, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 98, column: 17, }, end: Position { line: 98, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 99, column: 7, }, end: Position { line: 99, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 99, column: 21, }, end: Position { line: 99, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 99, column: 25, }, end: Position { line: 99, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable Paperless.\n\nWhen started, the Paperless database is automatically created if it doesn't\nexist and updated if the Paperless package has changed.\nBoth tasks are achieved by running a Django migration.\n\nA script to manage the Paperless instance (by wrapping Django's manage.py) is linked to\n`", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 107, column: 10, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 107, column: 13, }, }, }, ), Raw( PartRaw { content: "{dataDir}/paperless-manage`.\n", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 108, column: 7, }, }, }, ), ], span: Span { start: Position { line: 99, column: 31, }, end: Position { line: 108, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 96, column: 23, }, end: Position { line: 109, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 111, column: 5, }, end: Position { line: 111, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 111, column: 15, }, end: Position { line: 111, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 112, column: 14, }, end: Position { line: 112, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 112, column: 20, }, end: Position { line: 112, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 113, column: 7, }, end: Position { line: 113, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/paperless", span: Span { start: Position { line: 113, column: 18, }, end: Position { line: 113, column: 36, }, }, }, ), ], span: Span { start: Position { line: 113, column: 17, }, end: Position { line: 113, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 114, column: 7, }, end: Position { line: 114, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 114, column: 21, }, end: Position { line: 114, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 114, column: 25, }, end: Position { line: 114, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Directory to store the Paperless data.", span: Span { start: Position { line: 114, column: 32, }, end: Position { line: 114, column: 70, }, }, }, ), ], span: Span { start: Position { line: 114, column: 31, }, end: Position { line: 114, column: 71, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 111, column: 24, }, end: Position { line: 115, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mediaDir", span: Span { start: Position { line: 117, column: 5, }, end: Position { line: 117, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 117, column: 16, }, end: Position { line: 117, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 118, column: 7, }, end: Position { line: 118, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 118, column: 14, }, end: Position { line: 118, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 118, column: 20, }, end: Position { line: 118, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 119, column: 20, }, end: Position { line: 119, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 119, column: 24, }, end: Position { line: 119, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/media", span: Span { start: Position { line: 119, column: 18, }, end: Position { line: 119, column: 38, }, }, }, ), ], span: Span { start: Position { line: 119, column: 17, }, end: Position { line: 119, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 120, column: 21, }, end: Position { line: 120, column: 38, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 120, column: 41, }, end: Position { line: 120, column: 42, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 120, column: 41, }, end: Position { line: 120, column: 45, }, }, }, ), Raw( PartRaw { content: "{dataDir}/media\"", span: Span { start: Position { line: 120, column: 41, }, end: Position { line: 120, column: 61, }, }, }, ), ], span: Span { start: Position { line: 120, column: 39, }, end: Position { line: 120, column: 63, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 121, column: 7, }, end: Position { line: 121, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 121, column: 21, }, end: Position { line: 121, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 121, column: 25, }, end: Position { line: 121, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Directory to store the Paperless documents.", span: Span { start: Position { line: 121, column: 32, }, end: Position { line: 121, column: 75, }, }, }, ), ], span: Span { start: Position { line: 121, column: 31, }, end: Position { line: 121, column: 76, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 117, column: 25, }, end: Position { line: 122, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "consumptionDir", span: Span { start: Position { line: 124, column: 5, }, end: Position { line: 124, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 124, column: 22, }, end: Position { line: 124, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 125, column: 7, }, end: Position { line: 125, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 125, column: 14, }, end: Position { line: 125, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 125, column: 20, }, end: Position { line: 125, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 126, column: 20, }, end: Position { line: 126, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 126, column: 24, }, end: Position { line: 126, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/consume", span: Span { start: Position { line: 126, column: 18, }, end: Position { line: 126, column: 40, }, }, }, ), ], span: Span { start: Position { line: 126, column: 17, }, end: Position { line: 126, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 127, column: 7, }, end: Position { line: 127, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 127, column: 21, }, end: Position { line: 127, column: 38, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 127, column: 41, }, end: Position { line: 127, column: 42, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 127, column: 41, }, end: Position { line: 127, column: 45, }, }, }, ), Raw( PartRaw { content: "{dataDir}/consume\"", span: Span { start: Position { line: 127, column: 41, }, end: Position { line: 127, column: 63, }, }, }, ), ], span: Span { start: Position { line: 127, column: 39, }, end: Position { line: 127, column: 65, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 128, column: 21, }, end: Position { line: 128, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 128, column: 25, }, end: Position { line: 128, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Directory from which new documents are imported.", span: Span { start: Position { line: 128, column: 32, }, end: Position { line: 128, column: 80, }, }, }, ), ], span: Span { start: Position { line: 128, column: 31, }, end: Position { line: 128, column: 81, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 124, column: 31, }, end: Position { line: 129, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "consumptionDirIsPublic", span: Span { start: Position { line: 131, column: 5, }, end: Position { line: 131, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 131, column: 30, }, end: Position { line: 131, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 132, column: 7, }, end: Position { line: 132, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 132, column: 14, }, end: Position { line: 132, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 132, column: 20, }, end: Position { line: 132, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 133, column: 7, }, end: Position { line: 133, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 133, column: 17, }, end: Position { line: 133, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 134, column: 7, }, end: Position { line: 134, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 134, column: 21, }, end: Position { line: 134, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 134, column: 25, }, end: Position { line: 134, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether all users can write to the consumption dir.", span: Span { start: Position { line: 134, column: 32, }, end: Position { line: 134, column: 83, }, }, }, ), ], span: Span { start: Position { line: 134, column: 31, }, end: Position { line: 134, column: 84, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 131, column: 39, }, end: Position { line: 135, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 137, column: 5, }, end: Position { line: 137, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 137, column: 20, }, end: Position { line: 137, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 138, column: 7, }, end: Position { line: 138, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 138, column: 14, }, end: Position { line: 138, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 138, column: 20, }, end: Position { line: 138, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 138, column: 27, }, end: Position { line: 138, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 138, column: 33, }, end: Position { line: 138, column: 37, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 139, column: 17, }, end: Position { line: 139, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 140, column: 7, }, end: Position { line: 140, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/keys/paperless-password", span: Span { start: Position { line: 140, column: 18, }, end: Position { line: 140, column: 46, }, }, }, ), ], span: Span { start: Position { line: 140, column: 17, }, end: Position { line: 140, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 141, column: 7, }, end: Position { line: 141, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 141, column: 21, }, end: Position { line: 141, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 141, column: 25, }, end: Position { line: 141, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A file containing the superuser password.\n\nA superuser is required to access the web interface.\nIf unset, you can create a superuser manually by running\n`", span: Span { start: Position { line: 142, column: 1, }, end: Position { line: 146, column: 10, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 142, column: 1, }, end: Position { line: 146, column: 13, }, }, }, ), Raw( PartRaw { content: "{dataDir}/paperless-manage createsuperuser`.\n\nThe default superuser name is `admin`. To change it, set\noption {option}`extraConfig.PAPERLESS_ADMIN_USER`.\nWARNING: When changing the superuser name after the initial setup, the old superuser\nwill continue to exist.\n\nTo disable login for the web interface, set the following:\n`extraConfig.PAPERLESS_AUTO_LOGIN_USERNAME = \"admin\";`.\nWARNING: Only use this on a trusted system without internet access to Paperless.\n", span: Span { start: Position { line: 142, column: 1, }, end: Position { line: 156, column: 7, }, }, }, ), ], span: Span { start: Position { line: 141, column: 31, }, end: Position { line: 156, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 137, column: 29, }, end: Position { line: 157, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "address", span: Span { start: Position { line: 159, column: 5, }, end: Position { line: 159, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 159, column: 15, }, end: Position { line: 159, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 160, column: 7, }, end: Position { line: 160, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 160, column: 14, }, end: Position { line: 160, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 160, column: 20, }, end: Position { line: 160, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 161, column: 7, }, end: Position { line: 161, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 161, column: 18, }, end: Position { line: 161, column: 27, }, }, }, ), ], span: Span { start: Position { line: 161, column: 17, }, end: Position { line: 161, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 162, column: 7, }, end: Position { line: 162, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 162, column: 21, }, end: Position { line: 162, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 162, column: 25, }, end: Position { line: 162, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Web interface address.", span: Span { start: Position { line: 162, column: 32, }, end: Position { line: 162, column: 54, }, }, }, ), ], span: Span { start: Position { line: 162, column: 31, }, end: Position { line: 162, column: 55, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 159, column: 24, }, end: Position { line: 163, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 165, column: 5, }, end: Position { line: 165, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 165, column: 12, }, end: Position { line: 165, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 166, column: 7, }, end: Position { line: 166, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 166, column: 14, }, end: Position { line: 166, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 166, column: 20, }, end: Position { line: 166, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 167, column: 7, }, end: Position { line: 167, column: 14, }, }, }, ), ], to: Integer( Integer { value: "28981", span: Span { start: Position { line: 167, column: 17, }, end: Position { line: 167, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 168, column: 7, }, end: Position { line: 168, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 168, column: 21, }, end: Position { line: 168, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 168, column: 25, }, end: Position { line: 168, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Web interface port.", span: Span { start: Position { line: 168, column: 32, }, end: Position { line: 168, column: 51, }, }, }, ), ], span: Span { start: Position { line: 168, column: 31, }, end: Position { line: 168, column: 52, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 165, column: 21, }, end: Position { line: 169, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 171, column: 5, }, end: Position { line: 171, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 171, column: 19, }, end: Position { line: 171, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 172, column: 7, }, end: Position { line: 172, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 172, column: 14, }, end: Position { line: 172, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrs", span: Span { start: Position { line: 172, column: 20, }, end: Position { line: 172, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 173, column: 7, }, end: Position { line: 173, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 173, column: 17, }, end: Position { line: 173, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 174, column: 7, }, end: Position { line: 174, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 174, column: 21, }, end: Position { line: 174, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 174, column: 25, }, end: Position { line: 174, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra paperless config options.\n\nSee [the documentation](https://paperless-ngx.readthedocs.io/en/latest/configuration.html)\nfor available options.\n", span: Span { start: Position { line: 175, column: 1, }, end: Position { line: 179, column: 7, }, }, }, ), ], span: Span { start: Position { line: 174, column: 31, }, end: Position { line: 179, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 180, column: 7, }, end: Position { line: 180, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PAPERLESS_OCR_LANGUAGE", span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "deu+eng", span: Span { start: Position { line: 181, column: 35, }, end: Position { line: 181, column: 42, }, }, }, ), ], span: Span { start: Position { line: 181, column: 34, }, end: Position { line: 181, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PAPERLESS_DBHOST", span: Span { start: Position { line: 182, column: 9, }, end: Position { line: 182, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/postgresql", span: Span { start: Position { line: 182, column: 29, }, end: Position { line: 182, column: 44, }, }, }, ), ], span: Span { start: Position { line: 182, column: 28, }, end: Position { line: 182, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 180, column: 17, }, end: Position { line: 183, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 171, column: 28, }, end: Position { line: 184, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 186, column: 5, }, end: Position { line: 186, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 186, column: 12, }, end: Position { line: 186, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 187, column: 7, }, end: Position { line: 187, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 187, column: 14, }, end: Position { line: 187, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 187, column: 20, }, end: Position { line: 187, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 188, column: 7, }, end: Position { line: 188, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "defaultUser", span: Span { start: Position { line: 188, column: 17, }, end: Position { line: 188, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 189, column: 7, }, end: Position { line: 189, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 189, column: 21, }, end: Position { line: 189, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 189, column: 25, }, end: Position { line: 189, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "User under which Paperless runs.", span: Span { start: Position { line: 189, column: 32, }, end: Position { line: 189, column: 64, }, }, }, ), ], span: Span { start: Position { line: 189, column: 31, }, end: Position { line: 189, column: 65, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 186, column: 21, }, end: Position { line: 190, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 192, column: 5, }, end: Position { line: 192, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 192, column: 15, }, end: Position { line: 192, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 193, column: 7, }, end: Position { line: 193, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 193, column: 14, }, end: Position { line: 193, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 193, column: 20, }, end: Position { line: 193, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 194, column: 7, }, end: Position { line: 194, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 194, column: 17, }, end: Position { line: 194, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "paperless-ngx", span: Span { start: Position { line: 194, column: 22, }, end: Position { line: 194, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 195, column: 7, }, end: Position { line: 195, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 195, column: 21, }, end: Position { line: 195, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.paperless-ngx", span: Span { start: Position { line: 195, column: 40, }, end: Position { line: 195, column: 58, }, }, }, ), ], span: Span { start: Position { line: 195, column: 39, }, end: Position { line: 195, column: 59, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 196, column: 7, }, end: Position { line: 196, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 196, column: 21, }, end: Position { line: 196, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 196, column: 25, }, end: Position { line: 196, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The Paperless package to use.", span: Span { start: Position { line: 196, column: 32, }, end: Position { line: 196, column: 61, }, }, }, ), ], span: Span { start: Position { line: 196, column: 31, }, end: Position { line: 196, column: 62, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 192, column: 24, }, end: Position { line: 197, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 95, column: 32, }, end: Position { line: 198, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 200, column: 3, }, end: Position { line: 200, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 200, column: 12, }, end: Position { line: 200, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 200, column: 17, }, end: Position { line: 200, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 200, column: 21, }, end: Position { line: 200, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 201, column: 5, }, end: Position { line: 201, column: 13, }, }, }, ), Raw( PartRaw { content: "redis", span: Span { start: Position { line: 201, column: 14, }, end: Position { line: 201, column: 19, }, }, }, ), Raw( PartRaw { content: "servers", span: Span { start: Position { line: 201, column: 20, }, end: Position { line: 201, column: 27, }, }, }, ), Raw( PartRaw { content: "paperless", span: Span { start: Position { line: 201, column: 28, }, end: Position { line: 201, column: 37, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 201, column: 38, }, end: Position { line: 201, column: 44, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 201, column: 47, }, end: Position { line: 201, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "enableRedis", span: Span { start: Position { line: 201, column: 52, }, end: Position { line: 201, column: 63, }, }, }, ), Identifier( Identifier { id: "true", span: Span { start: Position { line: 201, column: 64, }, end: Position { line: 201, column: 68, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 203, column: 5, }, end: Position { line: 203, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 203, column: 13, }, end: Position { line: 203, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 203, column: 22, }, end: Position { line: 203, column: 27, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 204, column: 8, }, end: Position { line: 204, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 204, column: 13, }, end: Position { line: 204, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 204, column: 17, }, end: Position { line: 204, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - ", span: Span { start: Position { line: 204, column: 8, }, end: Position { line: 204, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 204, column: 31, }, end: Position { line: 204, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 204, column: 35, }, end: Position { line: 204, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 204, column: 8, }, end: Position { line: 204, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 204, column: 43, }, end: Position { line: 204, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 204, column: 50, }, end: Position { line: 204, column: 55, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 204, column: 56, }, end: Position { line: 204, column: 61, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 204, column: 64, }, end: Position { line: 204, column: 67, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 204, column: 68, }, end: Position { line: 204, column: 72, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "group", span: Span { start: Position { line: 204, column: 74, }, end: Position { line: 204, column: 79, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " - -", span: Span { start: Position { line: 204, column: 8, }, end: Position { line: 204, column: 84, }, }, }, ), ], span: Span { start: Position { line: 204, column: 7, }, end: Position { line: 204, column: 85, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 205, column: 8, }, end: Position { line: 205, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 205, column: 13, }, end: Position { line: 205, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mediaDir", span: Span { start: Position { line: 205, column: 17, }, end: Position { line: 205, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - ", span: Span { start: Position { line: 205, column: 8, }, end: Position { line: 205, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 205, column: 32, }, end: Position { line: 205, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 205, column: 36, }, end: Position { line: 205, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 205, column: 8, }, end: Position { line: 205, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 205, column: 44, }, end: Position { line: 205, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 205, column: 51, }, end: Position { line: 205, column: 56, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 205, column: 57, }, end: Position { line: 205, column: 62, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 205, column: 65, }, end: Position { line: 205, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 205, column: 69, }, end: Position { line: 205, column: 73, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "group", span: Span { start: Position { line: 205, column: 75, }, end: Position { line: 205, column: 80, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " - -", span: Span { start: Position { line: 205, column: 8, }, end: Position { line: 205, column: 85, }, }, }, ), ], span: Span { start: Position { line: 205, column: 7, }, end: Position { line: 205, column: 86, }, }, }, ), IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 206, column: 11, }, end: Position { line: 206, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "consumptionDirIsPublic", span: Span { start: Position { line: 206, column: 15, }, end: Position { line: 206, column: 37, }, }, }, ), ], default: None, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 207, column: 10, }, end: Position { line: 207, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 207, column: 15, }, end: Position { line: 207, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "consumptionDir", span: Span { start: Position { line: 207, column: 19, }, end: Position { line: 207, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' 777 - - - -", span: Span { start: Position { line: 207, column: 10, }, end: Position { line: 207, column: 47, }, }, }, ), ], span: Span { start: Position { line: 207, column: 9, }, end: Position { line: 207, column: 48, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 209, column: 10, }, end: Position { line: 209, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 209, column: 15, }, end: Position { line: 209, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "consumptionDir", span: Span { start: Position { line: 209, column: 19, }, end: Position { line: 209, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - ", span: Span { start: Position { line: 209, column: 10, }, end: Position { line: 209, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 209, column: 40, }, end: Position { line: 209, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 209, column: 44, }, end: Position { line: 209, column: 48, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 209, column: 10, }, end: Position { line: 209, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 209, column: 52, }, end: Position { line: 209, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 209, column: 59, }, end: Position { line: 209, column: 64, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 209, column: 65, }, end: Position { line: 209, column: 70, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 209, column: 73, }, end: Position { line: 209, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 209, column: 77, }, end: Position { line: 209, column: 81, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "group", span: Span { start: Position { line: 209, column: 83, }, end: Position { line: 209, column: 88, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " - -", span: Span { start: Position { line: 209, column: 10, }, end: Position { line: 209, column: 93, }, }, }, ), ], span: Span { start: Position { line: 209, column: 9, }, end: Position { line: 209, column: 94, }, }, }, ), span: Span { start: Position { line: 206, column: 8, }, end: Position { line: 209, column: 94, }, }, }, ), ], span: Span { start: Position { line: 203, column: 30, }, end: Position { line: 211, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 213, column: 5, }, end: Position { line: 213, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 213, column: 13, }, end: Position { line: 213, column: 21, }, }, }, ), Raw( PartRaw { content: "paperless-scheduler", span: Span { start: Position { line: 213, column: 22, }, end: Position { line: 213, column: 41, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 214, column: 7, }, end: Position { line: 214, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Paperless scheduler", span: Span { start: Position { line: 214, column: 22, }, end: Position { line: 214, column: 41, }, }, }, ), ], span: Span { start: Position { line: 214, column: 21, }, end: Position { line: 214, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 215, column: 7, }, end: Position { line: 215, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "defaultServiceConfig", span: Span { start: Position { line: 215, column: 23, }, end: Position { line: 215, column: 43, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 216, column: 9, }, end: Position { line: 216, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 216, column: 16, }, end: Position { line: 216, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 216, column: 20, }, end: Position { line: 216, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 217, column: 9, }, end: Position { line: 217, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 217, column: 24, }, end: Position { line: 217, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/paperless-ngx qcluster", span: Span { start: Position { line: 217, column: 22, }, end: Position { line: 217, column: 55, }, }, }, ), ], span: Span { start: Position { line: 217, column: 21, }, end: Position { line: 217, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 218, column: 9, }, end: Position { line: 218, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 218, column: 20, }, end: Position { line: 218, column: 30, }, }, }, ), ], span: Span { start: Position { line: 218, column: 19, }, end: Position { line: 218, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallFilter", span: Span { start: Position { line: 220, column: 9, }, end: Position { line: 220, column: 25, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "defaultServiceConfig", span: Span { start: Position { line: 220, column: 28, }, end: Position { line: 220, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "SystemCallFilter", span: Span { start: Position { line: 220, column: 49, }, end: Position { line: 220, column: 65, }, }, }, ), ], default: None, }, ), operator: Concatenation, right: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "mbind", span: Span { start: Position { line: 220, column: 72, }, end: Position { line: 220, column: 77, }, }, }, ), ], span: Span { start: Position { line: 220, column: 71, }, end: Position { line: 220, column: 78, }, }, }, ), ], span: Span { start: Position { line: 220, column: 69, }, end: Position { line: 220, column: 80, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateNetwork", span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 222, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 222, column: 26, }, end: Position { line: 222, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 215, column: 47, }, end: Position { line: 223, column: 8, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 224, column: 7, }, end: Position { line: 224, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "env", span: Span { start: Position { line: 224, column: 21, }, end: Position { line: 224, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 225, column: 7, }, end: Position { line: 225, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 225, column: 21, }, end: Position { line: 225, column: 38, }, }, }, ), ], span: Span { start: Position { line: 225, column: 20, }, end: Position { line: 225, column: 39, }, }, }, ), ], span: Span { start: Position { line: 225, column: 18, }, end: Position { line: 225, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wants", span: Span { start: Position { line: 226, column: 7, }, end: Position { line: 226, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "paperless-consumer.service", span: Span { start: Position { line: 226, column: 18, }, end: Position { line: 226, column: 44, }, }, }, ), ], span: Span { start: Position { line: 226, column: 17, }, end: Position { line: 226, column: 45, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "paperless-web.service", span: Span { start: Position { line: 226, column: 47, }, end: Position { line: 226, column: 68, }, }, }, ), ], span: Span { start: Position { line: 226, column: 46, }, end: Position { line: 226, column: 69, }, }, }, ), ], span: Span { start: Position { line: 226, column: 15, }, end: Position { line: 226, column: 71, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 228, column: 7, }, end: Position { line: 228, column: 15, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ln -sf ", span: Span { start: Position { line: 229, column: 1, }, end: Position { line: 229, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "manage", span: Span { start: Position { line: 229, column: 18, }, end: Position { line: 229, column: 24, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 229, column: 1, }, end: Position { line: 229, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 229, column: 28, }, end: Position { line: 229, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 229, column: 32, }, end: Position { line: 229, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/paperless-manage\n\n# Auto-migrate on first run or if the package has changed\nversionFile=\"", span: Span { start: Position { line: 229, column: 1, }, end: Position { line: 232, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 232, column: 24, }, end: Position { line: 232, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 232, column: 28, }, end: Position { line: 232, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/src-version\"\nif [[ $(cat \"$versionFile\" 2>/dev/null) != ", span: Span { start: Position { line: 229, column: 1, }, end: Position { line: 233, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 233, column: 54, }, end: Position { line: 233, column: 57, }, }, }, ), }, ), Raw( PartRaw { content: " ]]; then\n ", span: Span { start: Position { line: 229, column: 1, }, end: Position { line: 234, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 234, column: 13, }, end: Position { line: 234, column: 16, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/paperless-ngx migrate\n echo ", span: Span { start: Position { line: 229, column: 1, }, end: Position { line: 235, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 235, column: 18, }, end: Position { line: 235, column: 21, }, }, }, ), }, ), Raw( PartRaw { content: " > \"$versionFile\"\nfi\n", span: Span { start: Position { line: 229, column: 1, }, end: Position { line: 237, column: 7, }, }, }, ), ], span: Span { start: Position { line: 228, column: 18, }, end: Position { line: 237, column: 9, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 238, column: 9, }, end: Position { line: 238, column: 23, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 238, column: 25, }, end: Position { line: 238, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 238, column: 29, }, end: Position { line: 238, column: 41, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 238, column: 45, }, end: Position { line: 238, column: 49, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "export PAPERLESS_ADMIN_USER=\"", span: Span { start: Position { line: 239, column: 1, }, end: Position { line: 239, column: 38, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 239, column: 1, }, end: Position { line: 239, column: 41, }, }, }, ), Raw( PartRaw { content: "{PAPERLESS_ADMIN_USER:-admin}\"\nexport PAPERLESS_ADMIN_PASSWORD=$(cat \"", span: Span { start: Position { line: 239, column: 1, }, end: Position { line: 240, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 240, column: 50, }, end: Position { line: 240, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 240, column: 54, }, end: Position { line: 240, column: 61, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/superuser-password\")\nsuperuserState=\"$PAPERLESS_ADMIN_USER:$PAPERLESS_ADMIN_PASSWORD\"\nsuperuserStateFile=\"", span: Span { start: Position { line: 239, column: 1, }, end: Position { line: 242, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 242, column: 31, }, end: Position { line: 242, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 242, column: 35, }, end: Position { line: 242, column: 42, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/superuser-state\"\n\nif [[ $(cat \"$superuserStateFile\" 2>/dev/null) != $superuserState ]]; then\n ", span: Span { start: Position { line: 239, column: 1, }, end: Position { line: 245, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 245, column: 13, }, end: Position { line: 245, column: 16, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/paperless-ngx manage_superuser\n echo \"$superuserState\" > \"$superuserStateFile\"\nfi\n", span: Span { start: Position { line: 239, column: 1, }, end: Position { line: 248, column: 7, }, }, }, ), ], span: Span { start: Position { line: 238, column: 51, }, end: Position { line: 248, column: 9, }, }, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 213, column: 44, }, end: Position { line: 249, column: 6, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 249, column: 10, }, end: Position { line: 249, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "enableRedis", span: Span { start: Position { line: 249, column: 24, }, end: Position { line: 249, column: 35, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 250, column: 7, }, end: Position { line: 250, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "redis-paperless.service", span: Span { start: Position { line: 250, column: 18, }, end: Position { line: 250, column: 41, }, }, }, ), ], span: Span { start: Position { line: 250, column: 17, }, end: Position { line: 250, column: 42, }, }, }, ), ], span: Span { start: Position { line: 250, column: 15, }, end: Position { line: 250, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 249, column: 36, }, end: Position { line: 251, column: 6, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 254, column: 5, }, end: Position { line: 254, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 254, column: 13, }, end: Position { line: 254, column: 21, }, }, }, ), Raw( PartRaw { content: "paperless-copy-password", span: Span { start: Position { line: 254, column: 22, }, end: Position { line: 254, column: 45, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 254, column: 48, }, end: Position { line: 254, column: 52, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 254, column: 54, }, end: Position { line: 254, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 254, column: 58, }, end: Position { line: 254, column: 70, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 254, column: 74, }, end: Position { line: 254, column: 78, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requiredBy", span: Span { start: Position { line: 255, column: 7, }, end: Position { line: 255, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "paperless-scheduler.service", span: Span { start: Position { line: 255, column: 23, }, end: Position { line: 255, column: 50, }, }, }, ), ], span: Span { start: Position { line: 255, column: 22, }, end: Position { line: 255, column: 51, }, }, }, ), ], span: Span { start: Position { line: 255, column: 20, }, end: Position { line: 255, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "before", span: Span { start: Position { line: 256, column: 7, }, end: Position { line: 256, column: 13, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "paperless-scheduler.service", span: Span { start: Position { line: 256, column: 19, }, end: Position { line: 256, column: 46, }, }, }, ), ], span: Span { start: Position { line: 256, column: 18, }, end: Position { line: 256, column: 47, }, }, }, ), ], span: Span { start: Position { line: 256, column: 16, }, end: Position { line: 256, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 257, column: 7, }, end: Position { line: 257, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 258, column: 9, }, end: Position { line: 258, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 259, column: 1, }, end: Position { line: 259, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 259, column: 13, }, end: Position { line: 259, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 259, column: 18, }, end: Position { line: 259, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/install --mode 600 --owner ", span: Span { start: Position { line: 259, column: 1, }, end: Position { line: 259, column: 60, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 259, column: 1, }, end: Position { line: 259, column: 61, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 259, column: 63, }, end: Position { line: 259, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 259, column: 67, }, end: Position { line: 259, column: 71, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' --compare \\\n ", span: Span { start: Position { line: 259, column: 1, }, end: Position { line: 260, column: 13, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 259, column: 1, }, end: Position { line: 260, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 260, column: 16, }, end: Position { line: 260, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "passwordFile", span: Span { start: Position { line: 260, column: 20, }, end: Position { line: 260, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' ", span: Span { start: Position { line: 259, column: 1, }, end: Position { line: 260, column: 35, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 259, column: 1, }, end: Position { line: 260, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 260, column: 38, }, end: Position { line: 260, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 260, column: 42, }, end: Position { line: 260, column: 49, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/superuser-password'\n", span: Span { start: Position { line: 259, column: 1, }, end: Position { line: 261, column: 9, }, }, }, ), ], span: Span { start: Position { line: 258, column: 21, }, end: Position { line: 261, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 262, column: 9, }, end: Position { line: 262, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 262, column: 17, }, end: Position { line: 262, column: 24, }, }, }, ), ], span: Span { start: Position { line: 262, column: 16, }, end: Position { line: 262, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 257, column: 23, }, end: Position { line: 263, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 254, column: 80, }, end: Position { line: 264, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 266, column: 5, }, end: Position { line: 266, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 266, column: 13, }, end: Position { line: 266, column: 21, }, }, }, ), Raw( PartRaw { content: "paperless-consumer", span: Span { start: Position { line: 266, column: 22, }, end: Position { line: 266, column: 40, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 267, column: 7, }, end: Position { line: 267, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Paperless document consumer", span: Span { start: Position { line: 267, column: 22, }, end: Position { line: 267, column: 49, }, }, }, ), ], span: Span { start: Position { line: 267, column: 21, }, end: Position { line: 267, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 268, column: 7, }, end: Position { line: 268, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "defaultServiceConfig", span: Span { start: Position { line: 268, column: 23, }, end: Position { line: 268, column: 43, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 269, column: 9, }, end: Position { line: 269, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 269, column: 16, }, end: Position { line: 269, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 269, column: 20, }, end: Position { line: 269, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 270, column: 9, }, end: Position { line: 270, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 270, column: 24, }, end: Position { line: 270, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/paperless-ngx document_consumer", span: Span { start: Position { line: 270, column: 22, }, end: Position { line: 270, column: 64, }, }, }, ), ], span: Span { start: Position { line: 270, column: 21, }, end: Position { line: 270, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 271, column: 9, }, end: Position { line: 271, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 271, column: 20, }, end: Position { line: 271, column: 30, }, }, }, ), ], span: Span { start: Position { line: 271, column: 19, }, end: Position { line: 271, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 268, column: 47, }, end: Position { line: 272, column: 8, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 273, column: 7, }, end: Position { line: 273, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "env", span: Span { start: Position { line: 273, column: 21, }, end: Position { line: 273, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindsTo", span: Span { start: Position { line: 276, column: 7, }, end: Position { line: 276, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "paperless-scheduler.service", span: Span { start: Position { line: 276, column: 20, }, end: Position { line: 276, column: 47, }, }, }, ), ], span: Span { start: Position { line: 276, column: 19, }, end: Position { line: 276, column: 48, }, }, }, ), ], span: Span { start: Position { line: 276, column: 17, }, end: Position { line: 276, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 277, column: 7, }, end: Position { line: 277, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "paperless-scheduler.service", span: Span { start: Position { line: 277, column: 18, }, end: Position { line: 277, column: 45, }, }, }, ), ], span: Span { start: Position { line: 277, column: 17, }, end: Position { line: 277, column: 46, }, }, }, ), ], span: Span { start: Position { line: 277, column: 15, }, end: Position { line: 277, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 266, column: 43, }, end: Position { line: 278, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 280, column: 5, }, end: Position { line: 280, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 280, column: 13, }, end: Position { line: 280, column: 21, }, }, }, ), Raw( PartRaw { content: "paperless-web", span: Span { start: Position { line: 280, column: 22, }, end: Position { line: 280, column: 35, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 281, column: 7, }, end: Position { line: 281, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Paperless web server", span: Span { start: Position { line: 281, column: 22, }, end: Position { line: 281, column: 42, }, }, }, ), ], span: Span { start: Position { line: 281, column: 21, }, end: Position { line: 281, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 282, column: 7, }, end: Position { line: 282, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "defaultServiceConfig", span: Span { start: Position { line: 282, column: 23, }, end: Position { line: 282, column: 43, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 283, column: 9, }, end: Position { line: 283, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 283, column: 16, }, end: Position { line: 283, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 283, column: 20, }, end: Position { line: 283, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 284, column: 9, }, end: Position { line: 284, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 285, column: 1, }, end: Position { line: 285, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 285, column: 13, }, end: Position { line: 285, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python", span: Span { start: Position { line: 285, column: 17, }, end: Position { line: 285, column: 23, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 285, column: 24, }, end: Position { line: 285, column: 28, }, }, }, ), Raw( PartRaw { content: "gunicorn", span: Span { start: Position { line: 285, column: 29, }, end: Position { line: 285, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/gunicorn \\\n -c ", span: Span { start: Position { line: 285, column: 1, }, end: Position { line: 286, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 286, column: 18, }, end: Position { line: 286, column: 21, }, }, }, ), }, ), Raw( PartRaw { content: "/lib/paperless-ngx/gunicorn.conf.py paperless.asgi:application\n", span: Span { start: Position { line: 285, column: 1, }, end: Position { line: 287, column: 9, }, }, }, ), ], span: Span { start: Position { line: 284, column: 21, }, end: Position { line: 287, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 288, column: 9, }, end: Position { line: 288, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 288, column: 20, }, end: Position { line: 288, column: 30, }, }, }, ), ], span: Span { start: Position { line: 288, column: 19, }, end: Position { line: 288, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallFilter", span: Span { start: Position { line: 291, column: 9, }, end: Position { line: 291, column: 25, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "defaultServiceConfig", span: Span { start: Position { line: 291, column: 28, }, end: Position { line: 291, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "SystemCallFilter", span: Span { start: Position { line: 291, column: 49, }, end: Position { line: 291, column: 65, }, }, }, ), ], default: None, }, ), operator: Concatenation, right: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "@setuid mbind", span: Span { start: Position { line: 291, column: 72, }, end: Position { line: 291, column: 85, }, }, }, ), ], span: Span { start: Position { line: 291, column: 71, }, end: Position { line: 291, column: 86, }, }, }, ), ], span: Span { start: Position { line: 291, column: 69, }, end: Position { line: 291, column: 88, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateNetwork", span: Span { start: Position { line: 293, column: 9, }, end: Position { line: 293, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 293, column: 26, }, end: Position { line: 293, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 282, column: 47, }, end: Position { line: 294, column: 8, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 294, column: 12, }, end: Position { line: 294, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalAttrs", span: Span { start: Position { line: 294, column: 16, }, end: Position { line: 294, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 294, column: 31, }, end: Position { line: 294, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 294, column: 35, }, end: Position { line: 294, column: 39, }, }, }, ), ], default: None, }, ), operator: LessThan, right: Integer( Integer { value: "1024", span: Span { start: Position { line: 294, column: 42, }, end: Position { line: 294, column: 46, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "AmbientCapabilities", span: Span { start: Position { line: 295, column: 9, }, end: Position { line: 295, column: 28, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "CAP_NET_BIND_SERVICE", span: Span { start: Position { line: 295, column: 34, }, end: Position { line: 295, column: 54, }, }, }, ), ], span: Span { start: Position { line: 295, column: 33, }, end: Position { line: 295, column: 55, }, }, }, ), ], span: Span { start: Position { line: 295, column: 31, }, end: Position { line: 295, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CapabilityBoundingSet", span: Span { start: Position { line: 296, column: 9, }, end: Position { line: 296, column: 30, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "CAP_NET_BIND_SERVICE", span: Span { start: Position { line: 296, column: 36, }, end: Position { line: 296, column: 56, }, }, }, ), ], span: Span { start: Position { line: 296, column: 35, }, end: Position { line: 296, column: 57, }, }, }, ), ], span: Span { start: Position { line: 296, column: 33, }, end: Position { line: 296, column: 59, }, }, }, ), }, ), ], span: Span { start: Position { line: 294, column: 48, }, end: Position { line: 297, column: 8, }, }, }, ), ], }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 298, column: 7, }, end: Position { line: 298, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "env", span: Span { start: Position { line: 298, column: 21, }, end: Position { line: 298, column: 24, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PATH", span: Span { start: Position { line: 299, column: 9, }, end: Position { line: 299, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkForce", span: Span { start: Position { line: 299, column: 16, }, end: Position { line: 299, column: 23, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 299, column: 24, }, end: Position { line: 299, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 299, column: 28, }, end: Position { line: 299, column: 32, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PYTHONPATH", span: Span { start: Position { line: 300, column: 9, }, end: Position { line: 300, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 300, column: 25, }, end: Position { line: 300, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python", span: Span { start: Position { line: 300, column: 29, }, end: Position { line: 300, column: 35, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 300, column: 36, }, end: Position { line: 300, column: 40, }, }, }, ), Raw( PartRaw { content: "makePythonPath", span: Span { start: Position { line: 300, column: 41, }, end: Position { line: 300, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 300, column: 56, }, end: Position { line: 300, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "propagatedBuildInputs", span: Span { start: Position { line: 300, column: 60, }, end: Position { line: 300, column: 81, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 300, column: 23, }, end: Position { line: 300, column: 83, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 300, column: 85, }, end: Position { line: 300, column: 88, }, }, }, ), }, ), Raw( PartRaw { content: "/lib/paperless-ngx/src", span: Span { start: Position { line: 300, column: 23, }, end: Position { line: 300, column: 111, }, }, }, ), ], span: Span { start: Position { line: 300, column: 22, }, end: Position { line: 300, column: 112, }, }, }, ), }, ), ], span: Span { start: Position { line: 298, column: 28, }, end: Position { line: 301, column: 8, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 304, column: 7, }, end: Position { line: 304, column: 17, }, }, }, ), Raw( PartRaw { content: "JoinsNamespaceOf", span: Span { start: Position { line: 304, column: 18, }, end: Position { line: 304, column: 34, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "paperless-scheduler.service", span: Span { start: Position { line: 304, column: 38, }, end: Position { line: 304, column: 65, }, }, }, ), ], span: Span { start: Position { line: 304, column: 37, }, end: Position { line: 304, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bindsTo", span: Span { start: Position { line: 307, column: 7, }, end: Position { line: 307, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "paperless-scheduler.service", span: Span { start: Position { line: 307, column: 20, }, end: Position { line: 307, column: 47, }, }, }, ), ], span: Span { start: Position { line: 307, column: 19, }, end: Position { line: 307, column: 48, }, }, }, ), ], span: Span { start: Position { line: 307, column: 17, }, end: Position { line: 307, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 308, column: 7, }, end: Position { line: 308, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "paperless-scheduler.service", span: Span { start: Position { line: 308, column: 18, }, end: Position { line: 308, column: 45, }, }, }, ), ], span: Span { start: Position { line: 308, column: 17, }, end: Position { line: 308, column: 46, }, }, }, ), ], span: Span { start: Position { line: 308, column: 15, }, end: Position { line: 308, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 280, column: 38, }, end: Position { line: 309, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 311, column: 5, }, end: Position { line: 311, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 311, column: 13, }, end: Position { line: 311, column: 26, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 311, column: 28, }, end: Position { line: 311, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 311, column: 32, }, end: Position { line: 311, column: 36, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "defaultUser", span: Span { start: Position { line: 311, column: 40, }, end: Position { line: 311, column: 51, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 312, column: 7, }, end: Position { line: 312, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "defaultUser", span: Span { start: Position { line: 312, column: 15, }, end: Position { line: 312, column: 26, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 313, column: 9, }, end: Position { line: 313, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "defaultUser", span: Span { start: Position { line: 313, column: 17, }, end: Position { line: 313, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 314, column: 9, }, end: Position { line: 314, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 314, column: 15, }, end: Position { line: 314, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 314, column: 22, }, end: Position { line: 314, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 314, column: 26, }, end: Position { line: 314, column: 30, }, }, }, ), Raw( PartRaw { content: "paperless", span: Span { start: Position { line: 314, column: 31, }, end: Position { line: 314, column: 40, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 315, column: 9, }, end: Position { line: 315, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 315, column: 16, }, end: Position { line: 315, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 315, column: 20, }, end: Position { line: 315, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 312, column: 30, }, end: Position { line: 316, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "groups", span: Span { start: Position { line: 318, column: 7, }, end: Position { line: 318, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "defaultUser", span: Span { start: Position { line: 318, column: 16, }, end: Position { line: 318, column: 27, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gid", span: Span { start: Position { line: 319, column: 9, }, end: Position { line: 319, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 319, column: 15, }, end: Position { line: 319, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 319, column: 22, }, end: Position { line: 319, column: 25, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 319, column: 26, }, end: Position { line: 319, column: 30, }, }, }, ), Raw( PartRaw { content: "paperless", span: Span { start: Position { line: 319, column: 31, }, end: Position { line: 319, column: 40, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 318, column: 31, }, end: Position { line: 320, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 311, column: 53, }, end: Position { line: 321, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 200, column: 28, }, end: Position { line: 322, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 88, column: 1, }, end: Position { line: 323, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 323, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 323, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 323, column: 2, }, }, }, )