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: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), 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: "programs", span: Span { start: Position { line: 6, column: 11, }, end: Position { line: 6, column: 19, }, }, }, ), Raw( PartRaw { content: "droidcam", span: Span { start: Position { line: 6, column: 20, }, end: Position { line: 6, column: 28, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 7, column: 14, }, end: Position { line: 7, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 7, column: 30, }, end: Position { line: 7, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 7, column: 34, }, end: Position { line: 7, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "DroidCam client", span: Span { start: Position { line: 7, column: 41, }, end: Position { line: 7, column: 56, }, }, }, ), ], span: Span { start: Position { line: 7, column: 40, }, end: Position { line: 7, column: 57, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 31, }, end: Position { line: 8, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 10, column: 12, }, end: Position { line: 10, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 10, column: 16, }, end: Position { line: 10, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 10, column: 21, }, end: Position { line: 10, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 10, column: 28, }, end: Position { line: 10, column: 36, }, }, }, ), Raw( PartRaw { content: "droidcam", span: Span { start: Position { line: 10, column: 37, }, end: Position { line: 10, column: 45, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 10, column: 46, }, end: Position { line: 10, column: 52, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 11, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 11, column: 36, }, end: Position { line: 11, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "droidcam", span: Span { start: Position { line: 11, column: 41, }, end: Position { line: 11, column: 49, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 11, column: 34, }, end: Position { line: 11, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 9, }, }, }, ), Raw( PartRaw { content: "extraModulePackages", span: Span { start: Position { line: 13, column: 10, }, end: Position { line: 13, column: 29, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 13, column: 34, }, end: Position { line: 13, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 13, column: 41, }, end: Position { line: 13, column: 45, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 13, column: 46, }, end: Position { line: 13, column: 60, }, }, }, ), Raw( PartRaw { content: "v4l2loopback", span: Span { start: Position { line: 13, column: 61, }, end: Position { line: 13, column: 73, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 13, column: 32, }, end: Position { line: 13, column: 75, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 14, column: 10, }, end: Position { line: 14, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "v4l2loopback", span: Span { start: Position { line: 14, column: 29, }, end: Position { line: 14, column: 41, }, }, }, ), ], span: Span { start: Position { line: 14, column: 28, }, end: Position { line: 14, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "snd-aloop", span: Span { start: Position { line: 14, column: 44, }, end: Position { line: 14, column: 53, }, }, }, ), ], span: Span { start: Position { line: 14, column: 43, }, end: Position { line: 14, column: 54, }, }, }, ), ], span: Span { start: Position { line: 14, column: 26, }, end: Position { line: 14, column: 56, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 53, }, end: Position { line: 15, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 16, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 16, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 16, column: 2, }, }, }, )