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: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "slimserver", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 35, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 13, }, }, }, ), Raw( PartRaw { content: "slimserver", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 16, }, end: Position { line: 14, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 15, column: 16, }, end: Position { line: 15, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 16, column: 19, }, end: Position { line: 16, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 23, }, end: Position { line: 17, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 17, column: 27, }, end: Position { line: 17, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable slimserver.\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 19, column: 9, }, }, }, ), ], span: Span { start: Position { line: 17, column: 33, }, end: Position { line: 19, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 20, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 23, column: 22, }, end: Position { line: 23, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 24, column: 19, }, end: Position { line: 24, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "slimserver", span: Span { start: Position { line: 24, column: 24, }, end: Position { line: 24, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 25, column: 23, }, end: Position { line: 25, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.slimserver", span: Span { start: Position { line: 25, column: 42, }, end: Position { line: 25, column: 57, }, }, }, ), ], span: Span { start: Position { line: 25, column: 41, }, end: Position { line: 25, column: 58, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 26, column: 23, }, end: Position { line: 26, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 26, column: 27, }, end: Position { line: 26, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Slimserver package to use.", span: Span { start: Position { line: 26, column: 34, }, end: Position { line: 26, column: 60, }, }, }, ), ], span: Span { start: Position { line: 26, column: 33, }, end: Position { line: 26, column: 61, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 26, }, end: Position { line: 27, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 29, column: 17, }, end: Position { line: 29, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 30, column: 9, }, end: Position { line: 30, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 30, column: 16, }, end: Position { line: 30, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 30, column: 22, }, end: Position { line: 30, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/slimserver", span: Span { start: Position { line: 31, column: 20, }, end: Position { line: 31, column: 39, }, }, }, ), ], span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 32, column: 23, }, end: Position { line: 32, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 32, column: 27, }, end: Position { line: 32, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The directory where slimserver stores its state, tag cache,\nplaylists etc.\n", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 35, column: 9, }, }, }, ), ], span: Span { start: Position { line: 32, column: 33, }, end: Position { line: 35, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 26, }, end: Position { line: 36, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 27, }, end: Position { line: 37, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 13, }, end: Position { line: 38, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 43, column: 3, }, end: Position { line: 43, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 43, column: 12, }, end: Position { line: 43, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 43, column: 17, }, end: Position { line: 43, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 43, column: 21, }, end: Position { line: 43, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 45, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 45, column: 13, }, end: Position { line: 45, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 45, column: 22, }, end: Position { line: 45, column: 27, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "d '", span: Span { start: Position { line: 46, column: 8, }, end: Position { line: 46, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 46, column: 13, }, end: Position { line: 46, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 46, column: 17, }, end: Position { line: 46, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' - slimserver slimserver - -", span: Span { start: Position { line: 46, column: 8, }, end: Position { line: 46, column: 54, }, }, }, ), ], span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 55, }, }, }, ), ], span: Span { start: Position { line: 45, column: 30, }, end: Position { line: 47, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 49, column: 13, }, end: Position { line: 49, column: 21, }, }, }, ), Raw( PartRaw { content: "slimserver", span: Span { start: Position { line: 49, column: 22, }, end: Position { line: 49, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 50, column: 7, }, end: Position { line: 50, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 50, column: 18, }, end: Position { line: 50, column: 32, }, }, }, ), ], span: Span { start: Position { line: 50, column: 17, }, end: Position { line: 50, column: 33, }, }, }, ), ], span: Span { start: Position { line: 50, column: 15, }, end: Position { line: 50, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Slim Server for Logitech Squeezebox Players", span: Span { start: Position { line: 51, column: 22, }, end: Position { line: 51, column: 65, }, }, }, ), ], span: Span { start: Position { line: 51, column: 21, }, end: Position { line: 51, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 52, column: 21, }, end: Position { line: 52, column: 38, }, }, }, ), ], span: Span { start: Position { line: 52, column: 20, }, end: Position { line: 52, column: 39, }, }, }, ), ], span: Span { start: Position { line: 52, column: 18, }, end: Position { line: 52, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "slimserver", span: Span { start: Position { line: 55, column: 17, }, end: Position { line: 55, column: 27, }, }, }, ), ], span: Span { start: Position { line: 55, column: 16, }, end: Position { line: 55, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 57, column: 24, }, end: Position { line: 57, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 57, column: 28, }, end: Position { line: 57, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/slimserver.pl --logdir ", span: Span { start: Position { line: 57, column: 22, }, end: Position { line: 57, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 57, column: 62, }, end: Position { line: 57, column: 65, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 57, column: 66, }, end: Position { line: 57, column: 73, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/logs --prefsdir ", span: Span { start: Position { line: 57, column: 22, }, end: Position { line: 57, column: 91, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 57, column: 93, }, end: Position { line: 57, column: 96, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 57, column: 97, }, end: Position { line: 57, column: 104, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/prefs --cachedir ", span: Span { start: Position { line: 57, column: 22, }, end: Position { line: 57, column: 123, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 57, column: 125, }, end: Position { line: 57, column: 128, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 57, column: 129, }, end: Position { line: 57, column: 136, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/cache --noimage --novideo", span: Span { start: Position { line: 57, column: 22, }, end: Position { line: 57, column: 163, }, }, }, ), ], span: Span { start: Position { line: 57, column: 21, }, end: Position { line: 57, column: 164, }, }, }, ), }, ), ], span: Span { start: Position { line: 54, column: 23, }, end: Position { line: 58, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 49, column: 35, }, end: Position { line: 59, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 61, column: 5, }, end: Position { line: 61, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 12, }, }, }, ), Raw( PartRaw { content: "slimserver", span: Span { start: Position { line: 62, column: 13, }, end: Position { line: 62, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Slimserver daemon user", span: Span { start: Position { line: 63, column: 24, }, end: Position { line: 63, column: 46, }, }, }, ), ], span: Span { start: Position { line: 63, column: 23, }, end: Position { line: 63, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 64, column: 16, }, end: Position { line: 64, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 64, column: 20, }, end: Position { line: 64, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "slimserver", span: Span { start: Position { line: 65, column: 18, }, end: Position { line: 65, column: 28, }, }, }, ), ], span: Span { start: Position { line: 65, column: 17, }, end: Position { line: 65, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 66, column: 24, }, end: Position { line: 66, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 62, column: 26, }, end: Position { line: 67, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "groups", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 13, }, }, }, ), Raw( PartRaw { content: "slimserver", span: Span { start: Position { line: 68, column: 14, }, end: Position { line: 68, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 68, column: 27, }, end: Position { line: 68, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 61, column: 13, }, end: Position { line: 69, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 43, column: 28, }, end: Position { line: 70, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 4, }, end: Position { line: 72, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 72, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 72, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 72, column: 2, }, }, }, )