Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 2, column: 6, }, end: Position { line: 2, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 3, column: 5, }, end: Position { line: 3, column: 8, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 3, column: 11, }, end: Position { line: 3, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 3, column: 18, }, end: Position { line: 3, column: 26, }, }, }, ), Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 3, column: 27, }, end: Position { line: 3, column: 34, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 11, }, end: Position { line: 6, column: 19, }, }, }, ), Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 6, column: 20, }, end: Position { line: 6, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 8, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 8, column: 30, }, end: Position { line: 8, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 8, column: 34, }, end: Position { line: 8, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 8, column: 41, }, end: Position { line: 8, column: 48, }, }, }, ), ], span: Span { start: Position { line: 8, column: 40, }, end: Position { line: 8, column: 49, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 10, column: 15, }, end: Position { line: 10, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/owncast", span: Span { start: Position { line: 12, column: 18, }, end: Position { line: 12, column: 34, }, }, }, ), ], span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 13, column: 25, }, end: Position { line: 13, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The directory where owncast stores its data files. If left as the default value this directory will automatically be created before the owncast server starts, otherwise the sysadmin is responsible for ensuring the directory exists with appropriate ownership and permissions.\n", span: Span { start: Position { line: 14, column: 1, }, end: Position { line: 15, column: 7, }, }, }, ), ], span: Span { start: Position { line: 13, column: 31, }, end: Position { line: 15, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 24, }, end: Position { line: 16, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 18, column: 20, }, end: Position { line: 18, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 19, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 19, column: 20, }, end: Position { line: 19, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 20, column: 17, }, end: Position { line: 20, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 21, column: 21, }, end: Position { line: 21, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 21, column: 25, }, end: Position { line: 21, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Open the appropriate ports in the firewall for owncast.\n", span: Span { start: Position { line: 22, column: 1, }, end: Position { line: 23, column: 7, }, }, }, ), ], span: Span { start: Position { line: 21, column: 31, }, end: Position { line: 23, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 29, }, end: Position { line: 24, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 26, column: 5, }, end: Position { line: 26, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 26, column: 12, }, end: Position { line: 26, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 14, }, end: Position { line: 27, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 27, column: 20, }, end: Position { line: 27, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 28, column: 18, }, end: Position { line: 28, column: 25, }, }, }, ), ], span: Span { start: Position { line: 28, column: 17, }, end: Position { line: 28, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 29, column: 21, }, end: Position { line: 29, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 29, column: 25, }, end: Position { line: 29, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "User account under which owncast runs.", span: Span { start: Position { line: 29, column: 32, }, end: Position { line: 29, column: 70, }, }, }, ), ], span: Span { start: Position { line: 29, column: 31, }, end: Position { line: 29, column: 71, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 26, column: 21, }, end: Position { line: 30, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 32, column: 13, }, end: Position { line: 32, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 14, }, end: Position { line: 33, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 33, column: 20, }, end: Position { line: 33, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 34, column: 18, }, end: Position { line: 34, column: 25, }, }, }, ), ], span: Span { start: Position { line: 34, column: 17, }, end: Position { line: 34, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 35, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 35, column: 25, }, end: Position { line: 35, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Group under which owncast runs.", span: Span { start: Position { line: 35, column: 32, }, end: Position { line: 35, column: 63, }, }, }, ), ], span: Span { start: Position { line: 35, column: 31, }, end: Position { line: 35, column: 64, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 32, column: 22, }, end: Position { line: 36, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 38, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 38, column: 14, }, end: Position { line: 38, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 39, column: 14, }, end: Position { line: 39, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 39, column: 20, }, end: Position { line: 39, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1", span: Span { start: Position { line: 40, column: 18, }, end: Position { line: 40, column: 27, }, }, }, ), ], span: Span { start: Position { line: 40, column: 17, }, end: Position { line: 40, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0.0.0.0", span: Span { start: Position { line: 41, column: 18, }, end: Position { line: 41, column: 25, }, }, }, ), ], span: Span { start: Position { line: 41, column: 17, }, end: Position { line: 41, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 42, column: 21, }, end: Position { line: 42, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 42, column: 25, }, end: Position { line: 42, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The IP address to bind the owncast web server to.", span: Span { start: Position { line: 42, column: 32, }, end: Position { line: 42, column: 81, }, }, }, ), ], span: Span { start: Position { line: 42, column: 31, }, end: Position { line: 42, column: 82, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 38, column: 23, }, end: Position { line: 43, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 45, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 12, }, end: Position { line: 45, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 46, column: 14, }, end: Position { line: 46, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 46, column: 20, }, end: Position { line: 46, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 14, }, }, }, ), ], to: Integer( Integer { value: "8080", span: Span { start: Position { line: 47, column: 17, }, end: Position { line: 47, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 48, column: 7, }, end: Position { line: 48, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 48, column: 21, }, end: Position { line: 48, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 48, column: 25, }, end: Position { line: 48, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "TCP port where owncast web-gui listens.\n", span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 50, column: 7, }, }, }, ), ], span: Span { start: Position { line: 48, column: 31, }, end: Position { line: 50, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 21, }, end: Position { line: 51, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rtmp-port", span: Span { start: Position { line: 53, column: 5, }, end: Position { line: 53, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 53, column: 17, }, end: Position { line: 53, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 54, column: 14, }, end: Position { line: 54, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 54, column: 20, }, end: Position { line: 54, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 55, column: 7, }, end: Position { line: 55, column: 14, }, }, }, ), ], to: Integer( Integer { value: "1935", span: Span { start: Position { line: 55, column: 17, }, end: Position { line: 55, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 56, column: 21, }, end: Position { line: 56, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 56, column: 25, }, end: Position { line: 56, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "TCP port where owncast rtmp service listens.\n", span: Span { start: Position { line: 57, column: 1, }, end: Position { line: 58, column: 7, }, }, }, ), ], span: Span { start: Position { line: 56, column: 31, }, end: Position { line: 58, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 53, column: 26, }, end: Position { line: 59, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 30, }, end: Position { line: 61, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 63, column: 3, }, end: Position { line: 63, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 63, column: 12, }, end: Position { line: 63, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 63, column: 17, }, end: Position { line: 63, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 63, column: 21, }, end: Position { line: 63, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 65, column: 5, }, end: Position { line: 65, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 65, column: 13, }, end: Position { line: 65, column: 21, }, }, }, ), Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 65, column: 22, }, end: Position { line: 65, column: 29, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 66, column: 7, }, end: Position { line: 66, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "A self-hosted live video and web chat server", span: Span { start: Position { line: 66, column: 22, }, end: Position { line: 66, column: 66, }, }, }, ), ], span: Span { start: Position { line: 66, column: 21, }, end: Position { line: 66, column: 67, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 38, }, }, }, ), ], span: Span { start: Position { line: 67, column: 20, }, end: Position { line: 67, column: 39, }, }, }, ), ], span: Span { start: Position { line: 67, column: 18, }, end: Position { line: 67, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 69, column: 23, }, end: Position { line: 69, column: 30, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 71, column: 11, }, end: Position { line: 71, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 71, column: 18, }, end: Position { line: 71, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 71, column: 22, }, end: Position { line: 71, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 72, column: 11, }, end: Position { line: 72, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 72, column: 19, }, end: Position { line: 72, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 72, column: 23, }, end: Position { line: 72, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 73, column: 11, }, end: Position { line: 73, column: 27, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 73, column: 30, }, end: Position { line: 73, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 73, column: 34, }, end: Position { line: 73, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 74, column: 11, }, end: Position { line: 74, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 74, column: 26, }, end: Position { line: 74, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 74, column: 31, }, end: Position { line: 74, column: 38, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/owncast -webserverport ", span: Span { start: Position { line: 74, column: 24, }, end: Position { line: 74, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 74, column: 69, }, end: Position { line: 74, column: 77, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 74, column: 78, }, end: Position { line: 74, column: 81, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 74, column: 82, }, end: Position { line: 74, column: 86, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " -rtmpport ", span: Span { start: Position { line: 74, column: 24, }, end: Position { line: 74, column: 98, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 74, column: 100, }, end: Position { line: 74, column: 108, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 74, column: 109, }, end: Position { line: 74, column: 112, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rtmp-port", span: Span { start: Position { line: 74, column: 113, }, end: Position { line: 74, column: 122, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " -webserverip ", span: Span { start: Position { line: 74, column: 24, }, end: Position { line: 74, column: 137, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 74, column: 139, }, end: Position { line: 74, column: 142, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 74, column: 143, }, end: Position { line: 74, column: 149, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 74, column: 23, }, end: Position { line: 74, column: 151, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 75, column: 11, }, end: Position { line: 75, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 75, column: 22, }, end: Position { line: 75, column: 32, }, }, }, ), ], span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 75, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 76, column: 10, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 77, column: 10, }, end: Position { line: 77, column: 14, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 77, column: 16, }, end: Position { line: 77, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 77, column: 20, }, end: Position { line: 77, column: 27, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/owncast", span: Span { start: Position { line: 77, column: 32, }, end: Position { line: 77, column: 48, }, }, }, ), ], span: Span { start: Position { line: 77, column: 31, }, end: Position { line: 77, column: 49, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 78, column: 11, }, end: Position { line: 78, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 78, column: 29, }, end: Position { line: 78, column: 36, }, }, }, ), ], span: Span { start: Position { line: 78, column: 28, }, end: Position { line: 78, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 77, column: 51, }, end: Position { line: 79, column: 10, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 69, column: 31, }, end: Position { line: 80, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 65, column: 32, }, end: Position { line: 81, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 83, column: 5, }, end: Position { line: 83, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 83, column: 11, }, end: Position { line: 83, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 83, column: 19, }, end: Position { line: 83, column: 23, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 83, column: 25, }, end: Position { line: 83, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 83, column: 29, }, end: Position { line: 83, column: 33, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 83, column: 38, }, end: Position { line: 83, column: 45, }, }, }, ), ], span: Span { start: Position { line: 83, column: 37, }, end: Position { line: 83, column: 46, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 84, column: 7, }, end: Position { line: 84, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 85, column: 24, }, end: Position { line: 85, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 86, column: 9, }, end: Position { line: 86, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 86, column: 17, }, end: Position { line: 86, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 86, column: 21, }, end: Position { line: 86, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 87, column: 9, }, end: Position { line: 87, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "owncast system user", span: Span { start: Position { line: 87, column: 24, }, end: Position { line: 87, column: 43, }, }, }, ), ], span: Span { start: Position { line: 87, column: 23, }, end: Position { line: 87, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 84, column: 17, }, end: Position { line: 88, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 83, column: 48, }, end: Position { line: 89, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 91, column: 5, }, end: Position { line: 91, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 91, column: 11, }, end: Position { line: 91, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 91, column: 20, }, end: Position { line: 91, column: 24, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 91, column: 26, }, end: Position { line: 91, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 91, column: 30, }, end: Position { line: 91, column: 35, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 91, column: 40, }, end: Position { line: 91, column: 47, }, }, }, ), ], span: Span { start: Position { line: 91, column: 39, }, end: Position { line: 91, column: 48, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owncast", span: Span { start: Position { line: 91, column: 52, }, end: Position { line: 91, column: 59, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 91, column: 62, }, end: Position { line: 91, column: 65, }, }, }, ), }, ), ], span: Span { start: Position { line: 91, column: 50, }, end: Position { line: 91, column: 68, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 93, column: 5, }, end: Position { line: 93, column: 15, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 93, column: 16, }, end: Position { line: 93, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 94, column: 7, }, end: Position { line: 94, column: 11, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 94, column: 12, }, end: Position { line: 94, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openFirewall", span: Span { start: Position { line: 94, column: 16, }, end: Position { line: 94, column: 28, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowedTCPPorts", span: Span { start: Position { line: 94, column: 31, }, end: Position { line: 94, column: 46, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 94, column: 51, }, end: Position { line: 94, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "rtmp-port", span: Span { start: Position { line: 94, column: 55, }, end: Position { line: 94, column: 64, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 94, column: 49, }, end: Position { line: 94, column: 66, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 94, column: 70, }, end: Position { line: 94, column: 78, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 94, column: 80, }, end: Position { line: 94, column: 83, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listen", span: Span { start: Position { line: 94, column: 84, }, end: Position { line: 94, column: 90, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "127.0.0.1", span: Span { start: Position { line: 94, column: 95, }, end: Position { line: 94, column: 104, }, }, }, ), ], span: Span { start: Position { line: 94, column: 94, }, end: Position { line: 94, column: 105, }, }, }, ), }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 94, column: 107, }, end: Position { line: 94, column: 110, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 94, column: 111, }, end: Position { line: 94, column: 115, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 94, column: 29, }, end: Position { line: 94, column: 118, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 63, column: 28, }, end: Position { line: 96, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 97, column: 3, }, end: Position { line: 97, column: 7, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 97, column: 12, }, end: Position { line: 97, column: 23, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 97, column: 31, }, end: Position { line: 97, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 97, column: 35, }, end: Position { line: 97, column: 46, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ Identifier( Identifier { id: "MayNiklas", span: Span { start: Position { line: 97, column: 50, }, end: Position { line: 97, column: 59, }, }, }, ), ], span: Span { start: Position { line: 97, column: 48, }, end: Position { line: 97, column: 61, }, }, }, ), span: Span { start: Position { line: 97, column: 26, }, end: Position { line: 97, column: 61, }, }, }, ), }, ), ], span: Span { start: Position { line: 97, column: 10, }, end: Position { line: 97, column: 64, }, }, }, ), }, ), ], span: Span { start: Position { line: 4, column: 4, }, end: Position { line: 98, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 98, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 98, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 98, column: 2, }, }, }, )