Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 24, }, }, }, ), Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 4, column: 25, }, end: Position { line: 4, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fpm", 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: "phpfpm", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 31, }, }, }, ), Raw( PartRaw { content: "pools", span: Span { start: Position { line: 5, column: 32, }, end: Position { line: 5, column: 37, }, }, }, ), Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 5, column: 38, }, end: Position { line: 5, column: 48, }, }, }, ), ], 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: "pkgs", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 6, column: 14, }, end: Position { line: 6, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dirName", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 8, column: 13, }, end: Position { line: 8, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dirName", span: Span { start: Position { line: 8, column: 17, }, end: Position { line: 8, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 7, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 10, column: 11, }, end: Position { line: 10, column: 21, }, }, }, ), ], span: Span { start: Position { line: 10, column: 10, }, end: Position { line: 10, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 8, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nginx", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 12, column: 13, }, end: Position { line: 12, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 12, column: 20, }, end: Position { line: 12, column: 28, }, }, }, ), Raw( PartRaw { content: "nginx", span: Span { start: Position { line: 12, column: 29, }, end: Position { line: 12, column: 34, }, }, }, ), Raw( PartRaw { content: "group", span: Span { start: Position { line: 12, column: 35, }, end: Position { line: 12, column: 40, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "none", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 9, }, }, }, ), ], to: Identifier( Identifier { id: "user", span: Span { start: Position { line: 13, column: 13, }, end: Position { line: 13, column: 17, }, }, }, ), }, ), ], span: Span { start: Position { line: 11, column: 11, }, end: Position { line: 14, column: 4, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "webserver", span: Span { start: Position { line: 14, column: 11, }, end: Position { line: 14, column: 20, }, }, }, ), ], default: None, }, ), }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useNginx", span: Span { start: Position { line: 16, column: 3, }, end: Position { line: 16, column: 11, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 14, }, end: Position { line: 16, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "webserver", span: Span { start: Position { line: 16, column: 18, }, end: Position { line: 16, column: 27, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "nginx", span: Span { start: Position { line: 16, column: 32, }, end: Position { line: 16, column: 37, }, }, }, ), ], span: Span { start: Position { line: 16, column: 31, }, end: Position { line: 16, column: 38, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultDir", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/", span: Span { start: Position { line: 18, column: 17, }, end: Position { line: 18, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 18, column: 28, }, end: Position { line: 18, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 18, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 7, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "useCustomDir", span: Span { start: Position { line: 19, column: 13, }, end: Position { line: 19, column: 25, }, }, }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 19, column: 31, }, end: Position { line: 19, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "storageDir", span: Span { start: Position { line: 19, column: 35, }, end: Position { line: 19, column: 45, }, }, }, ), ], default: None, }, ), else_: Identifier( Identifier { id: "defaultDir", span: Span { start: Position { line: 19, column: 51, }, end: Position { line: 19, column: 61, }, }, }, ), span: Span { start: Position { line: 19, column: 10, }, end: Position { line: 19, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useCustomDir", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 15, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 21, column: 18, }, end: Position { line: 21, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "storageDir", span: Span { start: Position { line: 21, column: 22, }, end: Position { line: 21, column: 32, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 21, column: 36, }, end: Position { line: 21, column: 40, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "zms", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 6, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/cgi-bin/zms", span: Span { start: Position { line: 23, column: 10, }, end: Position { line: 23, column: 22, }, }, }, ), ], span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dirs", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 7, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "dirList", }, ), body: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 25, column: 21, }, end: Position { line: 25, column: 28, }, }, }, ), ], span: Span { start: Position { line: 25, column: 19, }, end: Position { line: 25, column: 30, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 25, column: 34, }, end: Position { line: 25, column: 37, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "e", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 25, column: 45, }, end: Position { line: 25, column: 52, }, }, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 25, column: 43, }, end: Position { line: 25, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "e", span: Span { start: Position { line: 25, column: 56, }, end: Position { line: 25, column: 57, }, }, }, ), }, ), ], span: Span { start: Position { line: 25, column: 42, }, end: Position { line: 25, column: 59, }, }, }, ), span: Span { start: Position { line: 25, column: 39, }, end: Position { line: 25, column: 59, }, }, }, ), Identifier( Identifier { id: "dirList", span: Span { start: Position { line: 25, column: 61, }, end: Position { line: 25, column: 68, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 25, column: 10, }, end: Position { line: 25, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cacheDirs", span: Span { start: Position { line: 27, column: 3, }, end: Position { line: 27, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "swap", span: Span { start: Position { line: 27, column: 18, }, end: Position { line: 27, column: 22, }, }, }, ), ], span: Span { start: Position { line: 27, column: 17, }, end: Position { line: 27, column: 23, }, }, }, ), ], span: Span { start: Position { line: 27, column: 15, }, end: Position { line: 27, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "libDirs", span: Span { start: Position { line: 28, column: 3, }, end: Position { line: 28, column: 10, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "events", span: Span { start: Position { line: 28, column: 18, }, end: Position { line: 28, column: 24, }, }, }, ), ], span: Span { start: Position { line: 28, column: 17, }, end: Position { line: 28, column: 25, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "exports", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 34, }, }, }, ), ], span: Span { start: Position { line: 28, column: 26, }, end: Position { line: 28, column: 35, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "images", span: Span { start: Position { line: 28, column: 37, }, end: Position { line: 28, column: 43, }, }, }, ), ], span: Span { start: Position { line: 28, column: 36, }, end: Position { line: 28, column: 44, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "sounds", span: Span { start: Position { line: 28, column: 46, }, end: Position { line: 28, column: 52, }, }, }, ), ], span: Span { start: Position { line: 28, column: 45, }, end: Position { line: 28, column: 53, }, }, }, ), ], span: Span { start: Position { line: 28, column: 15, }, end: Position { line: 28, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dirStanzas", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "baseDir", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 8, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 31, column: 27, }, end: Position { line: 31, column: 29, }, }, }, ), ], span: Span { start: Position { line: 31, column: 26, }, end: Position { line: 31, column: 30, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 31, column: 32, }, end: Position { line: 31, column: 35, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "e", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "ZM_DIR_", span: Span { start: Position { line: 32, column: 8, }, end: Position { line: 32, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toUpper", span: Span { start: Position { line: 32, column: 21, }, end: Position { line: 32, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "e", span: Span { start: Position { line: 32, column: 29, }, end: Position { line: 32, column: 30, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "=", span: Span { start: Position { line: 32, column: 8, }, end: Position { line: 32, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 32, column: 34, }, end: Position { line: 32, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 32, column: 8, }, end: Position { line: 32, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "e", span: Span { start: Position { line: 32, column: 45, }, end: Position { line: 32, column: 46, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 48, }, }, }, ), span: Span { start: Position { line: 31, column: 37, }, end: Position { line: 32, column: 48, }, }, }, ), Identifier( Identifier { id: "libDirs", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 16, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 30, column: 16, }, end: Position { line: 33, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultsFile", span: Span { start: Position { line: 35, column: 3, }, end: Position { line: 35, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 35, column: 18, }, end: Position { line: 35, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 35, column: 23, }, end: Position { line: 35, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "60-defaults.conf", span: Span { start: Position { line: 35, column: 34, }, end: Position { line: 35, column: 50, }, }, }, ), ], span: Span { start: Position { line: 35, column: 33, }, end: Position { line: 35, column: 51, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# 01-system-paths.conf\n", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 37, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "dirStanzas", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "home", span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 22, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nZM_PATH_ARP=", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 38, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 38, column: 19, }, end: Position { line: 38, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getBin", span: Span { start: Position { line: 38, column: 23, }, end: Position { line: 38, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 38, column: 30, }, end: Position { line: 38, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nettools", span: Span { start: Position { line: 38, column: 35, }, end: Position { line: 38, column: 43, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "/bin/arp\nZM_PATH_LOGS=/var/log/", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 39, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 39, column: 29, }, end: Position { line: 39, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "\nZM_PATH_MAP=/dev/shm\nZM_PATH_SOCKS=/run/", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 41, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 41, column: 26, }, end: Position { line: 41, column: 33, }, }, }, ), }, ), Raw( PartRaw { content: "\nZM_PATH_SWAP=/var/cache/", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 42, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 42, column: 31, }, end: Position { line: 42, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "/swap\nZM_PATH_ZMS=", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 43, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zms", span: Span { start: Position { line: 43, column: 19, }, end: Position { line: 43, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: "\n\n# 02-multiserver.conf\nZM_SERVER_HOST=\n\n# Database\nZM_DB_TYPE=mysql\nZM_DB_HOST=", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 50, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 50, column: 18, }, end: Position { line: 50, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 50, column: 22, }, end: Position { line: 50, column: 30, }, }, }, ), Raw( PartRaw { content: "host", span: Span { start: Position { line: 50, column: 31, }, end: Position { line: 50, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nZM_DB_NAME=", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 51, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 51, column: 18, }, end: Position { line: 51, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 51, column: 22, }, end: Position { line: 51, column: 30, }, }, }, ), Raw( PartRaw { content: "name", span: Span { start: Position { line: 51, column: 31, }, end: Position { line: 51, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nZM_DB_USER=", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 52, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 52, column: 18, }, end: Position { line: 52, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 30, }, }, }, ), Raw( PartRaw { content: "username", span: Span { start: Position { line: 52, column: 31, }, end: Position { line: 52, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nZM_DB_PASS=", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 53, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 53, column: 18, }, end: Position { line: 53, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 53, column: 22, }, end: Position { line: 53, column: 30, }, }, }, ), Raw( PartRaw { content: "password", span: Span { start: Position { line: 53, column: 31, }, end: Position { line: 53, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n# Web\nZM_WEB_USER=", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 56, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 56, column: 19, }, end: Position { line: 56, column: 23, }, }, }, ), }, ), Raw( PartRaw { content: "\nZM_WEB_GROUP=", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 57, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "group", span: Span { start: Position { line: 57, column: 20, }, end: Position { line: 57, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 36, column: 1, }, end: Position { line: 58, column: 3, }, }, }, ), ], span: Span { start: Position { line: 35, column: 52, }, end: Position { line: 58, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 60, column: 3, }, end: Position { line: 60, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 60, column: 16, }, end: Position { line: 60, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 60, column: 21, }, end: Position { line: 60, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "80-nixos.conf", span: Span { start: Position { line: 60, column: 32, }, end: Position { line: 60, column: 45, }, }, }, ), ], span: Span { start: Position { line: 60, column: 31, }, end: Position { line: 60, column: 46, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# You can override defaults here\n\n", span: Span { start: Position { line: 61, column: 1, }, end: Position { line: 63, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 63, column: 11, }, end: Position { line: 63, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 61, column: 1, }, end: Position { line: 64, column: 3, }, }, }, ), ], span: Span { start: Position { line: 60, column: 47, }, end: Position { line: 64, column: 5, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 67, column: 3, }, end: Position { line: 67, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 68, column: 5, }, end: Position { line: 68, column: 13, }, }, }, ), Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 68, column: 14, }, end: Position { line: 68, column: 24, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 68, column: 32, }, end: Position { line: 68, column: 35, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 69, column: 16, }, end: Position { line: 69, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkEnableOption", span: Span { start: Position { line: 69, column: 20, }, end: Position { line: 69, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 69, column: 36, }, end: Position { line: 69, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 69, column: 40, }, end: Position { line: 69, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ZoneMinder\n\nIf you intend to run the database locally, you should set\n`config.services.zoneminder.database.createLocally` to true. Otherwise,\nwhen set to `false` (the default), you will have to create the database\nand database user as well as populate the database yourself.\nAdditionally, you will need to run `zmupdate.pl` yourself when\nupgrading to a newer version.\n", span: Span { start: Position { line: 70, column: 1, }, end: Position { line: 78, column: 7, }, }, }, ), ], span: Span { start: Position { line: 69, column: 46, }, end: Position { line: 78, column: 9, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "webserver", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 80, column: 19, }, end: Position { line: 80, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 81, column: 16, }, end: Position { line: 81, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 81, column: 22, }, end: Position { line: 81, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "nginx", span: Span { start: Position { line: 81, column: 30, }, end: Position { line: 81, column: 35, }, }, }, ), ], span: Span { start: Position { line: 81, column: 29, }, end: Position { line: 81, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "none", span: Span { start: Position { line: 81, column: 38, }, end: Position { line: 81, column: 42, }, }, }, ), ], span: Span { start: Position { line: 81, column: 37, }, end: Position { line: 81, column: 43, }, }, }, ), ], span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 45, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nginx", span: Span { start: Position { line: 82, column: 20, }, end: Position { line: 82, column: 25, }, }, }, ), ], span: Span { start: Position { line: 82, column: 19, }, end: Position { line: 82, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 83, column: 23, }, end: Position { line: 83, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 83, column: 27, }, end: Position { line: 83, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The webserver to configure for the PHP frontend.\n\nSet it to `none` if you want to configure it yourself. PRs are welcome\nfor support for other web servers.\n", span: Span { start: Position { line: 84, column: 1, }, end: Position { line: 88, column: 9, }, }, }, ), ], span: Span { start: Position { line: 83, column: 33, }, end: Position { line: 88, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 80, column: 28, }, end: Position { line: 89, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hostname", span: Span { start: Position { line: 91, column: 7, }, end: Position { line: 91, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 91, column: 18, }, end: Position { line: 91, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 92, column: 16, }, end: Position { line: 92, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 92, column: 22, }, end: Position { line: 92, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 93, column: 20, }, end: Position { line: 93, column: 29, }, }, }, ), ], span: Span { start: Position { line: 93, column: 19, }, end: Position { line: 93, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 94, column: 9, }, end: Position { line: 94, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 94, column: 23, }, end: Position { line: 94, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 94, column: 27, }, end: Position { line: 94, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The hostname on which to listen.\n", span: Span { start: Position { line: 95, column: 1, }, end: Position { line: 96, column: 9, }, }, }, ), ], span: Span { start: Position { line: 94, column: 33, }, end: Position { line: 96, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 91, column: 27, }, end: Position { line: 97, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 99, column: 7, }, end: Position { line: 99, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 99, column: 14, }, end: Position { line: 99, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 100, column: 16, }, end: Position { line: 100, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 100, column: 22, }, end: Position { line: 100, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 101, column: 9, }, end: Position { line: 101, column: 16, }, }, }, ), ], to: Integer( Integer { value: "8095", span: Span { start: Position { line: 101, column: 19, }, end: Position { line: 101, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 102, column: 9, }, end: Position { line: 102, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 102, column: 23, }, end: Position { line: 102, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 102, column: 27, }, end: Position { line: 102, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The port on which to listen.\n", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 104, column: 9, }, }, }, ), ], span: Span { start: Position { line: 102, column: 33, }, end: Position { line: 104, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 99, column: 23, }, end: Position { line: 105, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 107, column: 7, }, end: Position { line: 107, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 107, column: 22, }, end: Position { line: 107, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 108, column: 9, }, end: Position { line: 108, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 108, column: 16, }, end: Position { line: 108, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 108, column: 22, }, end: Position { line: 108, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 109, column: 19, }, end: Position { line: 109, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 110, column: 23, }, end: Position { line: 110, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 110, column: 27, }, end: Position { line: 110, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Open the firewall port(s).\n", span: Span { start: Position { line: 111, column: 1, }, end: Position { line: 112, column: 9, }, }, }, ), ], span: Span { start: Position { line: 110, column: 33, }, end: Position { line: 112, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 107, column: 31, }, end: Position { line: 113, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 115, column: 7, }, end: Position { line: 115, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createLocally", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 116, column: 25, }, end: Position { line: 116, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 117, column: 11, }, end: Position { line: 117, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 117, column: 18, }, end: Position { line: 117, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 117, column: 24, }, end: Position { line: 117, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 118, column: 11, }, end: Position { line: 118, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 118, column: 21, }, end: Position { line: 118, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 119, column: 11, }, end: Position { line: 119, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 119, column: 25, }, end: Position { line: 119, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 119, column: 29, }, end: Position { line: 119, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Create the database and database user locally.\n", span: Span { start: Position { line: 120, column: 1, }, end: Position { line: 121, column: 11, }, }, }, ), ], span: Span { start: Position { line: 119, column: 35, }, end: Position { line: 121, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 116, column: 34, }, end: Position { line: 122, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "host", span: Span { start: Position { line: 124, column: 9, }, end: Position { line: 124, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 124, column: 16, }, end: Position { line: 124, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 125, column: 11, }, end: Position { line: 125, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 125, column: 18, }, end: Position { line: 125, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 125, column: 24, }, end: Position { line: 125, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 126, column: 11, }, end: Position { line: 126, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 126, column: 22, }, end: Position { line: 126, column: 31, }, }, }, ), ], span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 126, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 127, column: 11, }, end: Position { line: 127, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 127, column: 25, }, end: Position { line: 127, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 127, column: 29, }, end: Position { line: 127, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Hostname hosting the database.\n", span: Span { start: Position { line: 128, column: 1, }, end: Position { line: 129, column: 11, }, }, }, ), ], span: Span { start: Position { line: 127, column: 35, }, end: Position { line: 129, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 124, column: 25, }, end: Position { line: 130, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 132, column: 9, }, end: Position { line: 132, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 132, column: 16, }, end: Position { line: 132, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 133, column: 11, }, end: Position { line: 133, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 133, column: 18, }, end: Position { line: 133, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 133, column: 24, }, end: Position { line: 133, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 134, column: 11, }, end: Position { line: 134, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "zm", span: Span { start: Position { line: 134, column: 22, }, end: Position { line: 134, column: 24, }, }, }, ), ], span: Span { start: Position { line: 134, column: 21, }, end: Position { line: 134, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 135, column: 11, }, end: Position { line: 135, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 135, column: 25, }, end: Position { line: 135, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 135, column: 29, }, end: Position { line: 135, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Name of database.\n", span: Span { start: Position { line: 136, column: 1, }, end: Position { line: 137, column: 11, }, }, }, ), ], span: Span { start: Position { line: 135, column: 35, }, end: Position { line: 137, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 132, column: 25, }, end: Position { line: 138, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "username", span: Span { start: Position { line: 140, column: 9, }, end: Position { line: 140, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 140, column: 20, }, end: Position { line: 140, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 141, column: 11, }, end: Position { line: 141, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 141, column: 18, }, end: Position { line: 141, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 141, column: 24, }, end: Position { line: 141, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 142, column: 11, }, end: Position { line: 142, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "zmuser", span: Span { start: Position { line: 142, column: 22, }, end: Position { line: 142, column: 28, }, }, }, ), ], span: Span { start: Position { line: 142, column: 21, }, end: Position { line: 142, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 143, column: 11, }, end: Position { line: 143, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 143, column: 25, }, end: Position { line: 143, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 143, column: 29, }, end: Position { line: 143, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Username for accessing the database.\n", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 145, column: 11, }, }, }, ), ], span: Span { start: Position { line: 143, column: 35, }, end: Position { line: 145, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 140, column: 29, }, end: Position { line: 146, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "password", span: Span { start: Position { line: 148, column: 9, }, end: Position { line: 148, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 148, column: 20, }, end: Position { line: 148, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 149, column: 11, }, end: Position { line: 149, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 149, column: 18, }, end: Position { line: 149, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 149, column: 24, }, end: Position { line: 149, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 150, column: 11, }, end: Position { line: 150, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "zmpass", span: Span { start: Position { line: 150, column: 22, }, end: Position { line: 150, column: 28, }, }, }, ), ], span: Span { start: Position { line: 150, column: 21, }, end: Position { line: 150, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 151, column: 11, }, end: Position { line: 151, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 151, column: 25, }, end: Position { line: 151, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 151, column: 29, }, end: Position { line: 151, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Username for accessing the database.\nNot used if `createLocally` is set.\n", span: Span { start: Position { line: 152, column: 1, }, end: Position { line: 154, column: 11, }, }, }, ), ], span: Span { start: Position { line: 151, column: 35, }, end: Position { line: 154, column: 13, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 148, column: 29, }, end: Position { line: 155, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 115, column: 18, }, end: Position { line: 156, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cameras", span: Span { start: Position { line: 158, column: 7, }, end: Position { line: 158, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 158, column: 17, }, end: Position { line: 158, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 159, column: 16, }, end: Position { line: 159, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 159, column: 22, }, end: Position { line: 159, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 160, column: 9, }, end: Position { line: 160, column: 16, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 160, column: 19, }, end: Position { line: 160, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 161, column: 9, }, end: Position { line: 161, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 161, column: 23, }, end: Position { line: 161, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 161, column: 27, }, end: Position { line: 161, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set this to the number of cameras you expect to support.\n", span: Span { start: Position { line: 162, column: 1, }, end: Position { line: 163, column: 9, }, }, }, ), ], span: Span { start: Position { line: 161, column: 33, }, end: Position { line: 163, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 158, column: 26, }, end: Position { line: 164, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "storageDir", span: Span { start: Position { line: 166, column: 7, }, end: Position { line: 166, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 166, column: 20, }, end: Position { line: 166, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 167, column: 9, }, end: Position { line: 167, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 167, column: 16, }, end: Position { line: 167, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 167, column: 22, }, end: Position { line: 167, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 167, column: 29, }, end: Position { line: 167, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 167, column: 35, }, end: Position { line: 167, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 168, column: 9, }, end: Position { line: 168, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 168, column: 19, }, end: Position { line: 168, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 169, column: 9, }, end: Position { line: 169, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/storage/tank", span: Span { start: Position { line: 169, column: 20, }, end: Position { line: 169, column: 33, }, }, }, ), ], span: Span { start: Position { line: 169, column: 19, }, end: Position { line: 169, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 170, column: 9, }, end: Position { line: 170, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 170, column: 23, }, end: Position { line: 170, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 170, column: 27, }, end: Position { line: 170, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ZoneMinder can generate quite a lot of data, so in case you don't want\nto use the default ", span: Span { start: Position { line: 171, column: 1, }, end: Position { line: 172, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "defaultDir", span: Span { start: Position { line: 172, column: 32, }, end: Position { line: 172, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: ", you can override the path here.\n", span: Span { start: Position { line: 171, column: 1, }, end: Position { line: 173, column: 9, }, }, }, ), ], span: Span { start: Position { line: 170, column: 33, }, end: Position { line: 173, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 166, column: 29, }, end: Position { line: 174, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 176, column: 7, }, end: Position { line: 176, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 176, column: 21, }, end: Position { line: 176, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 177, column: 9, }, end: Position { line: 177, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 177, column: 16, }, end: Position { line: 177, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 177, column: 22, }, end: Position { line: 177, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 178, column: 9, }, end: Position { line: 178, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 178, column: 19, }, end: Position { line: 178, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 179, column: 9, }, end: Position { line: 179, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 179, column: 23, }, end: Position { line: 179, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 179, column: 27, }, end: Position { line: 179, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Additional configuration added verbatim to the configuration file.\n", span: Span { start: Position { line: 180, column: 1, }, end: Position { line: 181, column: 9, }, }, }, ), ], span: Span { start: Position { line: 179, column: 33, }, end: Position { line: 181, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 176, column: 30, }, end: Position { line: 182, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 68, column: 37, }, end: Position { line: 183, column: 6, }, }, }, ), span: Span { start: Position { line: 68, column: 27, }, end: Position { line: 183, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 67, column: 13, }, end: Position { line: 184, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 186, column: 3, }, end: Position { line: 186, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 186, column: 12, }, end: Position { line: 186, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 186, column: 16, }, end: Position { line: 186, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 186, column: 21, }, end: Position { line: 186, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 186, column: 25, }, end: Position { line: 186, column: 31, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 188, column: 5, }, end: Position { line: 188, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 189, column: 9, }, end: Position { line: 189, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 189, column: 21, }, end: Position { line: 189, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 189, column: 25, }, end: Position { line: 189, column: 33, }, }, }, ), Raw( PartRaw { content: "createLocally", span: Span { start: Position { line: 189, column: 34, }, end: Position { line: 189, column: 47, }, }, }, ), ], default: None, }, ), operator: Implication, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 189, column: 51, }, end: Position { line: 189, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 189, column: 55, }, end: Position { line: 189, column: 63, }, }, }, ), Raw( PartRaw { content: "username", span: Span { start: Position { line: 189, column: 64, }, end: Position { line: 189, column: 72, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "user", span: Span { start: Position { line: 189, column: 76, }, end: Position { line: 189, column: 80, }, }, }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 190, column: 9, }, end: Position { line: 190, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "services.zoneminder.database.username must be set to ", span: Span { start: Position { line: 190, column: 20, }, end: Position { line: 190, column: 80, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 190, column: 75, }, end: Position { line: 190, column: 79, }, }, }, ), }, ), Raw( PartRaw { content: " if services.zoneminder.database.createLocally is set true", span: Span { start: Position { line: 190, column: 20, }, end: Position { line: 190, column: 138, }, }, }, ), ], span: Span { start: Position { line: 190, column: 19, }, end: Position { line: 190, column: 139, }, }, }, ), }, ), ], span: Span { start: Position { line: 189, column: 7, }, end: Position { line: 191, column: 8, }, }, }, ), ], span: Span { start: Position { line: 188, column: 18, }, end: Position { line: 192, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 194, column: 5, }, end: Position { line: 194, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 194, column: 17, }, end: Position { line: 194, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "zoneminder/60-defaults.conf", span: Span { start: Position { line: 195, column: 8, }, end: Position { line: 195, column: 35, }, }, }, ), ], span: Span { start: Position { line: 195, column: 7, }, end: Position { line: 195, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 195, column: 37, }, end: Position { line: 195, column: 43, }, }, }, ), ], to: Identifier( Identifier { id: "defaultsFile", span: Span { start: Position { line: 195, column: 46, }, end: Position { line: 195, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "zoneminder/80-nixos.conf", span: Span { start: Position { line: 196, column: 8, }, end: Position { line: 196, column: 32, }, }, }, ), ], span: Span { start: Position { line: 196, column: 7, }, end: Position { line: 196, column: 33, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 196, column: 34, }, end: Position { line: 196, column: 40, }, }, }, ), ], to: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 196, column: 46, }, end: Position { line: 196, column: 56, }, }, }, ), }, ), ], span: Span { start: Position { line: 194, column: 23, }, end: Position { line: 197, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 199, column: 5, }, end: Position { line: 199, column: 15, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 199, column: 16, }, end: Position { line: 199, column: 24, }, }, }, ), Raw( PartRaw { content: "allowedTCPPorts", span: Span { start: Position { line: 199, column: 25, }, end: Position { line: 199, column: 40, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 199, column: 43, }, end: Position { line: 199, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 199, column: 47, }, end: Position { line: 199, column: 51, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 199, column: 52, }, end: Position { line: 199, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 199, column: 56, }, end: Position { line: 199, column: 68, }, }, }, ), ], default: None, }, ), List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 200, column: 7, }, end: Position { line: 200, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 200, column: 11, }, end: Position { line: 200, column: 15, }, }, }, ), ], default: None, }, ), Integer( Integer { value: "6802", span: Span { start: Position { line: 201, column: 7, }, end: Position { line: 201, column: 11, }, }, }, ), ], span: Span { start: Position { line: 199, column: 69, }, end: Position { line: 202, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 204, column: 5, }, end: Position { line: 204, column: 13, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fcgiwrap", span: Span { start: Position { line: 205, column: 7, }, end: Position { line: 205, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 205, column: 18, }, end: Position { line: 205, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 205, column: 22, }, end: Position { line: 205, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "useNginx", span: Span { start: Position { line: 205, column: 27, }, end: Position { line: 205, column: 35, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 206, column: 9, }, end: Position { line: 206, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 206, column: 18, }, end: Position { line: 206, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preforkProcesses", span: Span { start: Position { line: 207, column: 9, }, end: Position { line: 207, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 207, column: 28, }, end: Position { line: 207, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cameras", span: Span { start: Position { line: 207, column: 32, }, end: Position { line: 207, column: 39, }, }, }, ), ], default: None, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 208, column: 17, }, end: Position { line: 208, column: 21, }, }, }, ), Raw( PartRaw { content: "group", span: Span { start: Position { line: 208, column: 22, }, end: Position { line: 208, column: 27, }, }, }, ), ], span: Span { start: Position { line: 205, column: 37, }, end: Position { line: 208, column: 28, }, }, }, ), ], span: Span { start: Position { line: 205, column: 36, }, end: Position { line: 209, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 211, column: 7, }, end: Position { line: 211, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 211, column: 15, }, end: Position { line: 211, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 211, column: 19, }, end: Position { line: 211, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 211, column: 24, }, end: Position { line: 211, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 211, column: 28, }, end: Position { line: 211, column: 36, }, }, }, ), Raw( PartRaw { content: "createLocally", span: Span { start: Position { line: 211, column: 37, }, end: Position { line: 211, column: 50, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 212, column: 9, }, end: Position { line: 212, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 212, column: 18, }, end: Position { line: 212, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 213, column: 9, }, end: Position { line: 213, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 213, column: 19, }, end: Position { line: 213, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkDefault", span: Span { start: Position { line: 213, column: 23, }, end: Position { line: 213, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 213, column: 33, }, end: Position { line: 213, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mariadb", span: Span { start: Position { line: 213, column: 38, }, end: Position { line: 213, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensureDatabases", span: Span { start: Position { line: 214, column: 9, }, end: Position { line: 214, column: 24, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 214, column: 29, }, end: Position { line: 214, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 214, column: 33, }, end: Position { line: 214, column: 41, }, }, }, ), Raw( PartRaw { content: "name", span: Span { start: Position { line: 214, column: 42, }, end: Position { line: 214, column: 46, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 214, column: 27, }, end: Position { line: 214, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensureUsers", span: Span { start: Position { line: 215, column: 9, }, end: Position { line: 215, column: 20, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 216, column: 11, }, end: Position { line: 216, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 216, column: 18, }, end: Position { line: 216, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 216, column: 22, }, end: Position { line: 216, column: 30, }, }, }, ), Raw( PartRaw { content: "username", span: Span { start: Position { line: 216, column: 31, }, end: Position { line: 216, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensurePermissions", span: Span { start: Position { line: 217, column: 11, }, end: Position { line: 217, column: 28, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 217, column: 36, }, end: Position { line: 217, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 217, column: 40, }, end: Position { line: 217, column: 48, }, }, }, ), Raw( PartRaw { content: "name", span: Span { start: Position { line: 217, column: 49, }, end: Position { line: 217, column: 53, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ".*", span: Span { start: Position { line: 217, column: 34, }, end: Position { line: 217, column: 56, }, }, }, ), ], span: Span { start: Position { line: 217, column: 33, }, end: Position { line: 217, column: 57, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "ALL PRIVILEGES", span: Span { start: Position { line: 217, column: 61, }, end: Position { line: 217, column: 75, }, }, }, ), ], span: Span { start: Position { line: 217, column: 60, }, end: Position { line: 217, column: 76, }, }, }, ), }, ), ], span: Span { start: Position { line: 217, column: 31, }, end: Position { line: 217, column: 79, }, }, }, ), }, ), ], span: Span { start: Position { line: 215, column: 24, }, end: Position { line: 218, column: 10, }, }, }, ), ], span: Span { start: Position { line: 215, column: 23, }, end: Position { line: 218, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 211, column: 51, }, end: Position { line: 219, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nginx", span: Span { start: Position { line: 221, column: 7, }, end: Position { line: 221, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 221, column: 15, }, end: Position { line: 221, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 221, column: 19, }, end: Position { line: 221, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "useNginx", span: Span { start: Position { line: 221, column: 24, }, end: Position { line: 221, column: 32, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 222, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 222, column: 18, }, end: Position { line: 222, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "virtualHosts", span: Span { start: Position { line: 223, column: 9, }, end: Position { line: 223, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 224, column: 13, }, end: Position { line: 224, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hostname", span: Span { start: Position { line: 224, column: 17, }, end: Position { line: 224, column: 25, }, }, }, ), ], default: None, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 225, column: 13, }, end: Position { line: 225, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 225, column: 23, }, end: Position { line: 225, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "root", span: Span { start: Position { line: 226, column: 13, }, end: Position { line: 226, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 226, column: 23, }, end: Position { line: 226, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: "/share/zoneminder/www", span: Span { start: Position { line: 226, column: 21, }, end: Position { line: 226, column: 48, }, }, }, ), ], span: Span { start: Position { line: 226, column: 20, }, end: Position { line: 226, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 227, column: 13, }, end: Position { line: 227, column: 19, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "addr", span: Span { start: Position { line: 227, column: 26, }, end: Position { line: 227, column: 30, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0.0.0.0", span: Span { start: Position { line: 227, column: 34, }, end: Position { line: 227, column: 41, }, }, }, ), ], span: Span { start: Position { line: 227, column: 33, }, end: Position { line: 227, column: 42, }, }, }, ), }, ), Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 227, column: 53, }, end: Position { line: 227, column: 56, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 227, column: 58, }, end: Position { line: 227, column: 62, }, }, }, ), ], span: Span { start: Position { line: 227, column: 25, }, end: Position { line: 227, column: 63, }, }, }, ), ], span: Span { start: Position { line: 227, column: 24, }, end: Position { line: 227, column: 65, }, }, }, ), ], span: Span { start: Position { line: 227, column: 22, }, end: Position { line: 227, column: 67, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 228, column: 13, }, end: Position { line: 228, column: 24, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fcgi", span: Span { start: Position { line: 229, column: 15, }, end: Position { line: 229, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 229, column: 22, }, end: Position { line: 229, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 229, column: 29, }, end: Position { line: 229, column: 37, }, }, }, ), Raw( PartRaw { content: "fcgiwrap", span: Span { start: Position { line: 229, column: 38, }, end: Position { line: 229, column: 46, }, }, }, ), ], default: None, }, ), }, ), ], target: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "index index.php;\n\nlocation / {\n try_files $uri $uri/ /index.php?$args =404;\n\n rewrite ^/skins/.*/css/fonts/(.*)$ /fonts/$1 permanent;\n\n location ~ /api/(css|img|ico) {\n rewrite ^/api(.+)$ /api/app/webroot/$1 break;\n try_files $uri $uri/ =404;\n }\n\n location ~ \\.(gif|ico|jpg|jpeg|png)$ {\n access_log off;\n expires 30d;\n }\n\n location /api {\n rewrite ^/api(.+)$ /api/app/webroot/index.php?p=$1 last;\n }\n\n location /cgi-bin {\n gzip off;\n\n include ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 255, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 255, column: 29, }, end: Position { line: 255, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 255, column: 36, }, end: Position { line: 255, column: 44, }, }, }, ), Raw( PartRaw { content: "nginx", span: Span { start: Position { line: 255, column: 45, }, end: Position { line: 255, column: 50, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 255, column: 51, }, end: Position { line: 255, column: 58, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/conf/fastcgi_params;\n fastcgi_param SCRIPT_FILENAME ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 256, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 256, column: 51, }, end: Position { line: 256, column: 54, }, }, }, ), }, ), Raw( PartRaw { content: "/libexec/zoneminder/", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 256, column: 75, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zms", span: Span { start: Position { line: 256, column: 77, }, end: Position { line: 256, column: 80, }, }, }, ), }, ), Raw( PartRaw { content: ";\n fastcgi_param HTTP_PROXY \"\";\n fastcgi_intercept_errors on;\n\n fastcgi_pass ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 260, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "fcgi", span: Span { start: Position { line: 260, column: 34, }, end: Position { line: 260, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "socketType", span: Span { start: Position { line: 260, column: 39, }, end: Position { line: 260, column: 49, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ":", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 260, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "fcgi", span: Span { start: Position { line: 260, column: 53, }, end: Position { line: 260, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "socketAddress", span: Span { start: Position { line: 260, column: 58, }, end: Position { line: 260, column: 71, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";\n }\n\n location /cache/ {\n alias /var/cache/", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 264, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 264, column: 38, }, end: Position { line: 264, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: "/;\n }\n\n location ~ \\.php$ {\n try_files $uri =404;\n fastcgi_index index.php;\n\n include ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 271, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 271, column: 29, }, end: Position { line: 271, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 271, column: 36, }, end: Position { line: 271, column: 44, }, }, }, ), Raw( PartRaw { content: "nginx", span: Span { start: Position { line: 271, column: 45, }, end: Position { line: 271, column: 50, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 271, column: 51, }, end: Position { line: 271, column: 58, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/conf/fastcgi_params;\n fastcgi_param SCRIPT_FILENAME $request_filename;\n fastcgi_param HTTP_PROXY \"\";\n\n fastcgi_pass unix:", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 275, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "fpm", span: Span { start: Position { line: 275, column: 39, }, end: Position { line: 275, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "socket", span: Span { start: Position { line: 275, column: 43, }, end: Position { line: 275, column: 49, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";\n }\n}\n", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 278, column: 13, }, }, }, ), ], span: Span { start: Position { line: 230, column: 16, }, end: Position { line: 278, column: 15, }, }, }, ), span: Span { start: Position { line: 228, column: 27, }, end: Position { line: 278, column: 15, }, }, }, ), }, ), ], span: Span { start: Position { line: 224, column: 29, }, end: Position { line: 279, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 223, column: 24, }, end: Position { line: 280, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 221, column: 33, }, end: Position { line: 281, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "phpfpm", span: Span { start: Position { line: 283, column: 7, }, end: Position { line: 283, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 283, column: 16, }, end: Position { line: 283, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 283, column: 20, }, end: Position { line: 283, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "useNginx", span: Span { start: Position { line: 283, column: 25, }, end: Position { line: 283, column: 33, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pools", span: Span { start: Position { line: 284, column: 9, }, end: Position { line: 284, column: 14, }, }, }, ), Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 284, column: 15, }, end: Position { line: 284, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 285, column: 19, }, end: Position { line: 285, column: 23, }, }, }, ), Raw( PartRaw { content: "group", span: Span { start: Position { line: 285, column: 24, }, end: Position { line: 285, column: 29, }, }, }, ), ], span: Span { start: Position { line: 284, column: 29, }, end: Position { line: 285, column: 30, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "phpPackage", span: Span { start: Position { line: 286, column: 11, }, end: Position { line: 286, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 286, column: 24, }, end: Position { line: 286, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "php", span: Span { start: Position { line: 286, column: 29, }, end: Position { line: 286, column: 32, }, }, }, ), Raw( PartRaw { content: "withExtensions", span: Span { start: Position { line: 286, column: 33, }, end: Position { line: 286, column: 47, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "enabled", default: None, }, FunctionHeadDestructuredArgument { identifier: "all", default: None, }, ], }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "enabled", span: Span { start: Position { line: 286, column: 67, }, end: Position { line: 286, column: 74, }, }, }, ), operator: Concatenation, right: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "all", span: Span { start: Position { line: 286, column: 80, }, end: Position { line: 286, column: 83, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "apcu", span: Span { start: Position { line: 286, column: 84, }, end: Position { line: 286, column: 88, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 286, column: 78, }, end: Position { line: 286, column: 90, }, }, }, ), }, ), span: Span { start: Position { line: 286, column: 49, }, end: Position { line: 286, column: 90, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "phpOptions", span: Span { start: Position { line: 287, column: 11, }, end: Position { line: 287, column: 21, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "date.timezone = \"", span: Span { start: Position { line: 288, column: 1, }, end: Position { line: 288, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 288, column: 32, }, end: Position { line: 288, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "time", span: Span { start: Position { line: 288, column: 39, }, end: Position { line: 288, column: 43, }, }, }, ), Raw( PartRaw { content: "timeZone", span: Span { start: Position { line: 288, column: 44, }, end: Position { line: 288, column: 52, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"\n", span: Span { start: Position { line: 288, column: 1, }, end: Position { line: 289, column: 11, }, }, }, ), ], span: Span { start: Position { line: 287, column: 24, }, end: Position { line: 289, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 290, column: 11, }, end: Position { line: 290, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 290, column: 22, }, end: Position { line: 290, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrs", span: Span { start: Position { line: 290, column: 26, }, end: Position { line: 290, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 290, column: 42, }, end: Position { line: 290, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkDefault", span: Span { start: Position { line: 290, column: 46, }, end: Position { line: 290, column: 55, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 290, column: 36, }, end: Position { line: 290, column: 55, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "listen.owner", span: Span { start: Position { line: 291, column: 14, }, end: Position { line: 291, column: 26, }, }, }, ), ], span: Span { start: Position { line: 291, column: 13, }, end: Position { line: 291, column: 27, }, }, }, ), }, ), ], to: Identifier( Identifier { id: "user", span: Span { start: Position { line: 291, column: 30, }, end: Position { line: 291, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "listen.group", span: Span { start: Position { line: 292, column: 14, }, end: Position { line: 292, column: 26, }, }, }, ), ], span: Span { start: Position { line: 292, column: 13, }, end: Position { line: 292, column: 27, }, }, }, ), }, ), ], to: Identifier( Identifier { id: "group", span: Span { start: Position { line: 292, column: 30, }, end: Position { line: 292, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "listen.mode", span: Span { start: Position { line: 293, column: 14, }, end: Position { line: 293, column: 25, }, }, }, ), ], span: Span { start: Position { line: 293, column: 13, }, end: Position { line: 293, column: 26, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0660", span: Span { start: Position { line: 293, column: 30, }, end: Position { line: 293, column: 34, }, }, }, ), ], span: Span { start: Position { line: 293, column: 29, }, end: Position { line: 293, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "pm", span: Span { start: Position { line: 295, column: 14, }, end: Position { line: 295, column: 16, }, }, }, ), ], span: Span { start: Position { line: 295, column: 13, }, end: Position { line: 295, column: 17, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "dynamic", span: Span { start: Position { line: 295, column: 21, }, end: Position { line: 295, column: 28, }, }, }, ), ], span: Span { start: Position { line: 295, column: 20, }, end: Position { line: 295, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "pm.start_servers", span: Span { start: Position { line: 296, column: 14, }, end: Position { line: 296, column: 30, }, }, }, ), ], span: Span { start: Position { line: 296, column: 13, }, end: Position { line: 296, column: 31, }, }, }, ), }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 296, column: 34, }, end: Position { line: 296, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "pm.min_spare_servers", span: Span { start: Position { line: 297, column: 14, }, end: Position { line: 297, column: 34, }, }, }, ), ], span: Span { start: Position { line: 297, column: 13, }, end: Position { line: 297, column: 35, }, }, }, ), }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 297, column: 38, }, end: Position { line: 297, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "pm.max_spare_servers", span: Span { start: Position { line: 298, column: 14, }, end: Position { line: 298, column: 34, }, }, }, ), ], span: Span { start: Position { line: 298, column: 13, }, end: Position { line: 298, column: 35, }, }, }, ), }, ), ], to: Integer( Integer { value: "2", span: Span { start: Position { line: 298, column: 38, }, end: Position { line: 298, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "pm.max_requests", span: Span { start: Position { line: 299, column: 14, }, end: Position { line: 299, column: 29, }, }, }, ), ], span: Span { start: Position { line: 299, column: 13, }, end: Position { line: 299, column: 30, }, }, }, ), }, ), ], to: Integer( Integer { value: "500", span: Span { start: Position { line: 299, column: 33, }, end: Position { line: 299, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "pm.max_children", span: Span { start: Position { line: 300, column: 14, }, end: Position { line: 300, column: 29, }, }, }, ), ], span: Span { start: Position { line: 300, column: 13, }, end: Position { line: 300, column: 30, }, }, }, ), }, ), ], to: Integer( Integer { value: "5", span: Span { start: Position { line: 300, column: 33, }, end: Position { line: 300, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "pm.status_path", span: Span { start: Position { line: 301, column: 14, }, end: Position { line: 301, column: 28, }, }, }, ), ], span: Span { start: Position { line: 301, column: 13, }, end: Position { line: 301, column: 29, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/$pool-status", span: Span { start: Position { line: 301, column: 33, }, end: Position { line: 301, column: 46, }, }, }, ), ], span: Span { start: Position { line: 301, column: 32, }, end: Position { line: 301, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "ping.path", span: Span { start: Position { line: 302, column: 14, }, end: Position { line: 302, column: 23, }, }, }, ), ], span: Span { start: Position { line: 302, column: 13, }, end: Position { line: 302, column: 24, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/$pool-ping", span: Span { start: Position { line: 302, column: 28, }, end: Position { line: 302, column: 39, }, }, }, ), ], span: Span { start: Position { line: 302, column: 27, }, end: Position { line: 302, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 290, column: 57, }, end: Position { line: 303, column: 12, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 284, column: 28, }, end: Position { line: 304, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 283, column: 34, }, end: Position { line: 305, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 204, column: 16, }, end: Position { line: 306, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 308, column: 5, }, end: Position { line: 308, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 308, column: 13, }, end: Position { line: 308, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 309, column: 7, }, end: Position { line: 309, column: 17, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 309, column: 25, }, end: Position { line: 309, column: 29, }, }, }, ), target: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "zoneminder", span: Span { start: Position { line: 310, column: 18, }, end: Position { line: 310, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 310, column: 29, }, end: Position { line: 310, column: 33, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 310, column: 35, }, end: Position { line: 310, column: 46, }, }, }, ), ], span: Span { start: Position { line: 309, column: 32, }, end: Position { line: 310, column: 47, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "documentation", span: Span { start: Position { line: 311, column: 9, }, end: Position { line: 311, column: 22, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "https://zoneminder.readthedocs.org/en/latest/", span: Span { start: Position { line: 311, column: 28, }, end: Position { line: 311, column: 73, }, }, }, ), ], span: Span { start: Position { line: 311, column: 27, }, end: Position { line: 311, column: 74, }, }, }, ), ], span: Span { start: Position { line: 311, column: 25, }, end: Position { line: 311, column: 76, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 312, column: 9, }, end: Position { line: 312, column: 13, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "coreutils", span: Span { start: Position { line: 313, column: 11, }, end: Position { line: 313, column: 20, }, }, }, ), Identifier( Identifier { id: "procps", span: Span { start: Position { line: 314, column: 11, }, end: Position { line: 314, column: 17, }, }, }, ), Identifier( Identifier { id: "psmisc", span: Span { start: Position { line: 315, column: 11, }, end: Position { line: 315, column: 17, }, }, }, ), ], span: Span { start: Position { line: 312, column: 16, }, end: Position { line: 316, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 317, column: 9, }, end: Position { line: 317, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "nginx.service", span: Span { start: Position { line: 317, column: 20, }, end: Position { line: 317, column: 33, }, }, }, ), ], span: Span { start: Position { line: 317, column: 19, }, end: Position { line: 317, column: 34, }, }, }, ), ], span: Span { start: Position { line: 317, column: 17, }, end: Position { line: 317, column: 36, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 317, column: 40, }, end: Position { line: 317, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optional", span: Span { start: Position { line: 317, column: 44, }, end: Position { line: 317, column: 52, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 317, column: 53, }, end: Position { line: 317, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 317, column: 57, }, end: Position { line: 317, column: 65, }, }, }, ), Raw( PartRaw { content: "createLocally", span: Span { start: Position { line: 317, column: 66, }, end: Position { line: 317, column: 79, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mysql.service", span: Span { start: Position { line: 317, column: 81, }, end: Position { line: 317, column: 94, }, }, }, ), ], span: Span { start: Position { line: 317, column: 80, }, end: Position { line: 317, column: 95, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 318, column: 9, }, end: Position { line: 318, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 318, column: 23, }, end: Position { line: 318, column: 40, }, }, }, ), ], span: Span { start: Position { line: 318, column: 22, }, end: Position { line: 318, column: 41, }, }, }, ), ], span: Span { start: Position { line: 318, column: 20, }, end: Position { line: 318, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 319, column: 9, }, end: Position { line: 319, column: 24, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "defaultsFile", span: Span { start: Position { line: 319, column: 29, }, end: Position { line: 319, column: 41, }, }, }, ), Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 319, column: 42, }, end: Position { line: 319, column: 52, }, }, }, ), ], span: Span { start: Position { line: 319, column: 27, }, end: Position { line: 319, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 320, column: 9, }, end: Position { line: 320, column: 17, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 320, column: 20, }, end: Position { line: 320, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 320, column: 24, }, end: Position { line: 320, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "useCustomDir", span: Span { start: Position { line: 320, column: 39, }, end: Position { line: 320, column: 51, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "install -dm775 -o ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 321, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 321, column: 31, }, end: Position { line: 321, column: 35, }, }, }, ), }, ), Raw( PartRaw { content: " -g ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 321, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "group", span: Span { start: Position { line: 321, column: 42, }, end: Position { line: 321, column: 47, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 321, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 321, column: 51, }, end: Position { line: 321, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "storageDir", span: Span { start: Position { line: 321, column: 55, }, end: Position { line: 321, column: 65, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/{", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 321, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 321, column: 70, }, end: Position { line: 321, column: 73, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 321, column: 74, }, end: Position { line: 321, column: 90, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 321, column: 92, }, end: Position { line: 321, column: 93, }, }, }, ), ], span: Span { start: Position { line: 321, column: 91, }, end: Position { line: 321, column: 94, }, }, }, ), Identifier( Identifier { id: "libDirs", span: Span { start: Position { line: 321, column: 95, }, end: Position { line: 321, column: 102, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "}\n", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 322, column: 9, }, }, }, ), ], span: Span { start: Position { line: 320, column: 52, }, end: Position { line: 322, column: 11, }, }, }, ), ], }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 322, column: 14, }, end: Position { line: 322, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 322, column: 18, }, end: Position { line: 322, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 322, column: 33, }, end: Position { line: 322, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "database", span: Span { start: Position { line: 322, column: 37, }, end: Position { line: 322, column: 45, }, }, }, ), Raw( PartRaw { content: "createLocally", span: Span { start: Position { line: 322, column: 46, }, end: Position { line: 322, column: 59, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if ! test -e \"/var/lib/", span: Span { start: Position { line: 323, column: 1, }, end: Position { line: 323, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 323, column: 36, }, end: Position { line: 323, column: 43, }, }, }, ), }, ), Raw( PartRaw { content: "/db-created\"; then\n ", span: Span { start: Position { line: 323, column: 1, }, end: Position { line: 324, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 324, column: 15, }, end: Position { line: 324, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 324, column: 22, }, end: Position { line: 324, column: 30, }, }, }, ), Raw( PartRaw { content: "mysql", span: Span { start: Position { line: 324, column: 31, }, end: Position { line: 324, column: 36, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 324, column: 37, }, end: Position { line: 324, column: 44, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mysql < ", span: Span { start: Position { line: 323, column: 1, }, end: Position { line: 324, column: 58, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 324, column: 60, }, end: Position { line: 324, column: 63, }, }, }, ), }, ), Raw( PartRaw { content: "/share/zoneminder/db/zm_create.sql\n touch \"/var/lib/", span: Span { start: Position { line: 323, column: 1, }, end: Position { line: 325, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 325, column: 31, }, end: Position { line: 325, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "/db-created\"\nfi\n\n", span: Span { start: Position { line: 323, column: 1, }, end: Position { line: 328, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zoneminder", span: Span { start: Position { line: 328, column: 13, }, end: Position { line: 328, column: 23, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/zmupdate.pl -nointeractive\n", span: Span { start: Position { line: 323, column: 1, }, end: Position { line: 329, column: 9, }, }, }, ), ], span: Span { start: Position { line: 322, column: 60, }, end: Position { line: 329, column: 11, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 330, column: 9, }, end: Position { line: 330, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 331, column: 11, }, end: Position { line: 331, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "user", span: Span { start: Position { line: 331, column: 18, }, end: Position { line: 331, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 332, column: 11, }, end: Position { line: 332, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "group", span: Span { start: Position { line: 332, column: 19, }, end: Position { line: 332, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SupplementaryGroups", span: Span { start: Position { line: 333, column: 11, }, end: Position { line: 333, column: 30, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "video", span: Span { start: Position { line: 333, column: 36, }, end: Position { line: 333, column: 41, }, }, }, ), ], span: Span { start: Position { line: 333, column: 35, }, end: Position { line: 333, column: 42, }, }, }, ), ], span: Span { start: Position { line: 333, column: 33, }, end: Position { line: 333, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 334, column: 11, }, end: Position { line: 334, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zoneminder", span: Span { start: Position { line: 334, column: 27, }, end: Position { line: 334, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/zmpkg.pl start", span: Span { start: Position { line: 334, column: 25, }, end: Position { line: 334, column: 57, }, }, }, ), ], span: Span { start: Position { line: 334, column: 24, }, end: Position { line: 334, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStop", span: Span { start: Position { line: 335, column: 11, }, end: Position { line: 335, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zoneminder", span: Span { start: Position { line: 335, column: 27, }, end: Position { line: 335, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/zmpkg.pl stop", span: Span { start: Position { line: 335, column: 25, }, end: Position { line: 335, column: 56, }, }, }, ), ], span: Span { start: Position { line: 335, column: 24, }, end: Position { line: 335, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecReload", span: Span { start: Position { line: 336, column: 11, }, end: Position { line: 336, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "zoneminder", span: Span { start: Position { line: 336, column: 27, }, end: Position { line: 336, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/zmpkg.pl restart", span: Span { start: Position { line: 336, column: 25, }, end: Position { line: 336, column: 59, }, }, }, ), ], span: Span { start: Position { line: 336, column: 24, }, end: Position { line: 336, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PIDFile", span: Span { start: Position { line: 337, column: 11, }, end: Position { line: 337, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/", span: Span { start: Position { line: 337, column: 22, }, end: Position { line: 337, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 337, column: 29, }, end: Position { line: 337, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "/zm.pid", span: Span { start: Position { line: 337, column: 22, }, end: Position { line: 337, column: 44, }, }, }, ), ], span: Span { start: Position { line: 337, column: 21, }, end: Position { line: 337, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 338, column: 11, }, end: Position { line: 338, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "forking", span: Span { start: Position { line: 338, column: 19, }, end: Position { line: 338, column: 26, }, }, }, ), ], span: Span { start: Position { line: 338, column: 18, }, end: Position { line: 338, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 339, column: 11, }, end: Position { line: 339, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 339, column: 22, }, end: Position { line: 339, column: 32, }, }, }, ), ], span: Span { start: Position { line: 339, column: 21, }, end: Position { line: 339, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 340, column: 11, }, end: Position { line: 340, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "10s", span: Span { start: Position { line: 340, column: 25, }, end: Position { line: 340, column: 28, }, }, }, ), ], span: Span { start: Position { line: 340, column: 24, }, end: Position { line: 340, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CacheDirectory", span: Span { start: Position { line: 341, column: 11, }, end: Position { line: 341, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "dirs", span: Span { start: Position { line: 341, column: 28, }, end: Position { line: 341, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "cacheDirs", span: Span { start: Position { line: 341, column: 33, }, end: Position { line: 341, column: 42, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectory", span: Span { start: Position { line: 342, column: 11, }, end: Position { line: 342, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 342, column: 30, }, end: Position { line: 342, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ReadWriteDirectories", span: Span { start: Position { line: 343, column: 11, }, end: Position { line: 343, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 343, column: 34, }, end: Position { line: 343, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 343, column: 38, }, end: Position { line: 343, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "useCustomDir", span: Span { start: Position { line: 343, column: 43, }, end: Position { line: 343, column: 55, }, }, }, ), List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 343, column: 58, }, end: Position { line: 343, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "storageDir", span: Span { start: Position { line: 343, column: 62, }, end: Position { line: 343, column: 72, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 343, column: 56, }, end: Position { line: 343, column: 74, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 344, column: 11, }, end: Position { line: 344, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "dirs", span: Span { start: Position { line: 344, column: 28, }, end: Position { line: 344, column: 32, }, }, }, ), arguments: [ IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "useCustomDir", span: Span { start: Position { line: 344, column: 37, }, end: Position { line: 344, column: 49, }, }, }, ), then: List( List { elements: [], span: Span { start: Position { line: 344, column: 55, }, end: Position { line: 344, column: 57, }, }, }, ), else_: Identifier( Identifier { id: "libDirs", span: Span { start: Position { line: 344, column: 63, }, end: Position { line: 344, column: 70, }, }, }, ), span: Span { start: Position { line: 344, column: 34, }, end: Position { line: 344, column: 70, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LogsDirectory", span: Span { start: Position { line: 345, column: 11, }, end: Position { line: 345, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "dirName", span: Span { start: Position { line: 345, column: 27, }, end: Position { line: 345, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 346, column: 11, }, end: Position { line: 346, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 346, column: 24, }, end: Position { line: 346, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectSystem", span: Span { start: Position { line: 347, column: 11, }, end: Position { line: 347, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "strict", span: Span { start: Position { line: 347, column: 28, }, end: Position { line: 347, column: 34, }, }, }, ), ], span: Span { start: Position { line: 347, column: 27, }, end: Position { line: 347, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectKernelTunables", span: Span { start: Position { line: 348, column: 11, }, end: Position { line: 348, column: 32, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 348, column: 35, }, end: Position { line: 348, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SystemCallArchitectures", span: Span { start: Position { line: 349, column: 11, }, end: Position { line: 349, column: 34, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "native", span: Span { start: Position { line: 349, column: 38, }, end: Position { line: 349, column: 44, }, }, }, ), ], span: Span { start: Position { line: 349, column: 37, }, end: Position { line: 349, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NoNewPrivileges", span: Span { start: Position { line: 350, column: 11, }, end: Position { line: 350, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 350, column: 29, }, end: Position { line: 350, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 330, column: 25, }, end: Position { line: 351, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 309, column: 31, }, end: Position { line: 352, column: 8, }, }, }, ), span: Span { start: Position { line: 309, column: 20, }, end: Position { line: 352, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 308, column: 24, }, end: Position { line: 353, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 355, column: 5, }, end: Position { line: 355, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 355, column: 11, }, end: Position { line: 355, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 355, column: 20, }, end: Position { line: 355, column: 24, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gid", span: Span { start: Position { line: 356, column: 7, }, end: Position { line: 356, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 356, column: 13, }, end: Position { line: 356, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 356, column: 20, }, end: Position { line: 356, column: 23, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 356, column: 24, }, end: Position { line: 356, column: 28, }, }, }, ), Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 356, column: 29, }, end: Position { line: 356, column: 39, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 355, column: 28, }, end: Position { line: 357, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 359, column: 5, }, end: Position { line: 359, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 359, column: 11, }, end: Position { line: 359, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 359, column: 19, }, end: Position { line: 359, column: 23, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 360, column: 7, }, end: Position { line: 360, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 360, column: 13, }, end: Position { line: 360, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 360, column: 20, }, end: Position { line: 360, column: 23, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 360, column: 24, }, end: Position { line: 360, column: 28, }, }, }, ), Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 360, column: 29, }, end: Position { line: 360, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 361, column: 7, }, end: Position { line: 361, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "user", span: Span { start: Position { line: 361, column: 15, }, end: Position { line: 361, column: 19, }, }, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 362, column: 15, }, end: Position { line: 362, column: 19, }, }, }, ), ], span: Span { start: Position { line: 359, column: 28, }, end: Position { line: 362, column: 20, }, }, }, ), Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 363, column: 16, }, end: Position { line: 363, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "zoneminder", span: Span { start: Position { line: 363, column: 21, }, end: Position { line: 363, column: 31, }, }, }, ), Raw( PartRaw { content: "meta", span: Span { start: Position { line: 363, column: 32, }, end: Position { line: 363, column: 36, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 363, column: 38, }, end: Position { line: 363, column: 49, }, }, }, ), ], span: Span { start: Position { line: 359, column: 28, }, end: Position { line: 363, column: 50, }, }, }, ), ], span: Span { start: Position { line: 359, column: 27, }, end: Position { line: 364, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 186, column: 32, }, end: Position { line: 365, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 367, column: 3, }, end: Position { line: 367, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 367, column: 8, }, end: Position { line: 367, column: 19, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 367, column: 27, }, end: Position { line: 367, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 367, column: 31, }, end: Position { line: 367, column: 42, }, }, }, ), ], default: None, }, ), target: List( List { elements: [], span: Span { start: Position { line: 367, column: 44, }, end: Position { line: 367, column: 47, }, }, }, ), span: Span { start: Position { line: 367, column: 22, }, end: Position { line: 367, column: 47, }, }, }, ), }, ), ], span: Span { start: Position { line: 66, column: 4, }, end: Position { line: 368, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 368, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 368, column: 2, }, }, }, )