Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 24, }, }, }, ), Raw( PartRaw { content: "spice-webdavd", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 38, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 13, }, }, }, ), Raw( PartRaw { content: "spice-webdavd", span: Span { start: Position { line: 9, column: 14, }, end: Position { line: 9, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 10, column: 16, }, end: Position { line: 10, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 10, column: 32, }, end: Position { line: 10, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 10, column: 36, }, end: Position { line: 10, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "the spice guest webdav proxy daemon", span: Span { start: Position { line: 10, column: 43, }, end: Position { line: 10, column: 78, }, }, }, ), ], span: Span { start: Position { line: 10, column: 42, }, end: Position { line: 10, column: 79, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 13, column: 19, }, end: Position { line: 13, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "phodav", span: Span { start: Position { line: 13, column: 24, }, end: Position { line: 13, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 14, column: 23, }, end: Position { line: 14, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.phodav", span: Span { start: Position { line: 14, column: 42, }, end: Position { line: 14, column: 53, }, }, }, ), ], span: Span { start: Position { line: 14, column: 41, }, end: Position { line: 14, column: 54, }, }, }, ), ], }, ), }, ), 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: "package", span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 23, }, end: Position { line: 16, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 16, column: 27, }, end: Position { line: 16, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "spice-webdavd provider package to use.", span: Span { start: Position { line: 16, column: 34, }, end: Position { line: 16, column: 72, }, }, }, ), ], span: Span { start: Position { line: 16, column: 33, }, end: Position { line: 16, column: 73, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 26, }, end: Position { line: 17, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 30, }, end: Position { line: 18, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 13, }, end: Position { line: 19, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 21, column: 12, }, end: Position { line: 21, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 21, column: 21, }, end: Position { line: 21, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 23, column: 5, }, end: Position { line: 23, column: 13, }, }, }, ), Raw( PartRaw { content: "davfs2", span: Span { start: Position { line: 23, column: 14, }, end: Position { line: 23, column: 20, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 23, column: 21, }, end: Position { line: 23, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 23, column: 30, }, end: Position { line: 23, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 26, column: 5, }, end: Position { line: 26, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 26, column: 14, }, end: Position { line: 26, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 26, column: 19, }, end: Position { line: 26, column: 27, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 26, column: 32, }, end: Position { line: 26, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 26, column: 36, }, end: Position { line: 26, column: 43, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 26, column: 30, }, end: Position { line: 26, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 28, column: 13, }, end: Position { line: 28, column: 21, }, }, }, ), Raw( PartRaw { content: "spice-webdavd", span: Span { start: Position { line: 28, column: 22, }, end: Position { line: 28, column: 35, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "spice-webdav proxy daemon", span: Span { start: Position { line: 29, column: 22, }, end: Position { line: 29, column: 47, }, }, }, ), ], span: Span { start: Position { line: 29, column: 21, }, end: Position { line: 29, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 23, }, }, }, ), ], span: Span { start: Position { line: 32, column: 16, }, end: Position { line: 32, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 33, column: 24, }, end: Position { line: 33, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 33, column: 28, }, end: Position { line: 33, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/spice-webdavd -p 9843", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 62, }, }, }, ), ], span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 33, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-success", span: Span { start: Position { line: 34, column: 20, }, end: Position { line: 34, column: 30, }, }, }, ), ], span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 31, column: 23, }, end: Position { line: 35, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 28, column: 38, }, end: Position { line: 36, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 21, column: 28, }, end: Position { line: 37, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 38, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 38, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 38, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 38, column: 2, }, }, }, )