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: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nvidia_x11", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 13, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "drivers", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 9, column: 15, }, end: Position { line: 9, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 30, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 9, column: 31, }, end: Position { line: 9, column: 38, }, }, }, ), Raw( PartRaw { content: "videoDrivers", span: Span { start: Position { line: 9, column: 39, }, end: Position { line: 9, column: 51, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isDeprecated", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "str", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasPrefix", span: Span { start: Position { line: 10, column: 26, }, end: Position { line: 10, column: 35, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 10, column: 37, }, end: Position { line: 10, column: 43, }, }, }, ), ], span: Span { start: Position { line: 10, column: 36, }, end: Position { line: 10, column: 44, }, }, }, ), Identifier( Identifier { id: "str", span: Span { start: Position { line: 10, column: 45, }, end: Position { line: 10, column: 48, }, }, }, ), ], }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "str", span: Span { start: Position { line: 10, column: 54, }, end: Position { line: 10, column: 57, }, }, }, ), operator: NotEqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 10, column: 62, }, end: Position { line: 10, column: 68, }, }, }, ), ], span: Span { start: Position { line: 10, column: 61, }, end: Position { line: 10, column: 69, }, }, }, ), }, ), }, ), span: Span { start: Position { line: 10, column: 20, }, end: Position { line: 10, column: 70, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hasDeprecated", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "drivers", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "any", span: Span { start: Position { line: 11, column: 30, }, end: Position { line: 11, column: 33, }, }, }, ), arguments: [ Identifier( Identifier { id: "isDeprecated", span: Span { start: Position { line: 11, column: 34, }, end: Position { line: 11, column: 46, }, }, }, ), Identifier( Identifier { id: "drivers", span: Span { start: Position { line: 11, column: 47, }, end: Position { line: 11, column: 54, }, }, }, ), ], }, ), span: Span { start: Position { line: 11, column: 21, }, end: Position { line: 11, column: 54, }, }, }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasDeprecated", span: Span { start: Position { line: 12, column: 10, }, end: Position { line: 12, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "drivers", span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 12, column: 31, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 10, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Selecting an nvidia driver has been modified for NixOS 19.03. The version is now set using `hardware.nvidia.package`.\n", span: Span { start: Position { line: 14, column: 1, }, end: Position { line: 15, column: 5, }, }, }, ), ], span: Span { start: Position { line: 13, column: 11, }, end: Position { line: 15, column: 7, }, }, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 16, column: 12, }, end: Position { line: 16, column: 16, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 16, column: 18, }, end: Position { line: 16, column: 24, }, }, }, ), ], span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 25, }, }, }, ), Identifier( Identifier { id: "drivers", span: Span { start: Position { line: 16, column: 26, }, end: Position { line: 16, column: 33, }, }, }, ), ], }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 40, }, end: Position { line: 16, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 16, column: 44, }, end: Position { line: 16, column: 51, }, }, }, ), ], default: None, }, ), else_: Identifier( Identifier { id: "null", span: Span { start: Position { line: 16, column: 57, }, end: Position { line: 16, column: 61, }, }, }, ), span: Span { start: Position { line: 16, column: 8, }, end: Position { line: 16, column: 61, }, }, }, ), span: Span { start: Position { line: 12, column: 6, }, end: Position { line: 16, column: 61, }, }, }, ), span: Span { start: Position { line: 8, column: 16, }, end: Position { line: 16, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enabled", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 10, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 18, column: 13, }, end: Position { line: 18, column: 23, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 18, column: 27, }, end: Position { line: 18, column: 31, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 24, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 19, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pCfg", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 7, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 21, column: 10, }, end: Position { line: 21, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "prime", span: Span { start: Position { line: 21, column: 14, }, end: Position { line: 21, column: 19, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "syncCfg", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 22, column: 13, }, end: Position { line: 22, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sync", span: Span { start: Position { line: 22, column: 18, }, end: Position { line: 22, column: 22, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "offloadCfg", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "offload", span: Span { start: Position { line: 23, column: 21, }, end: Position { line: 23, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "primeEnabled", span: Span { start: Position { line: 24, column: 3, }, end: Position { line: 24, column: 15, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "syncCfg", span: Span { start: Position { line: 24, column: 18, }, end: Position { line: 24, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 24, column: 26, }, end: Position { line: 24, column: 32, }, }, }, ), ], default: None, }, ), operator: LogicalOr, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "offloadCfg", span: Span { start: Position { line: 24, column: 36, }, end: Position { line: 24, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 24, column: 47, }, end: Position { line: 24, column: 53, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nvidiaPersistencedEnabled", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 28, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 25, column: 32, }, end: Position { line: 25, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nvidiaPersistenced", span: Span { start: Position { line: 25, column: 36, }, end: Position { line: 25, column: 54, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nvidiaSettings", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 26, column: 20, }, end: Position { line: 26, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nvidiaSettings", span: Span { start: Position { line: 26, column: 24, }, end: Position { line: 26, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "busIDType", span: Span { start: Position { line: 27, column: 3, }, end: Position { line: 27, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 15, }, end: Position { line: 27, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "strMatching", span: Span { start: Position { line: 27, column: 21, }, end: Position { line: 27, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "([[:print:]]+[:@][0-9]{1,3}:[0-9]{1,2}:[0-9])?", span: Span { start: Position { line: 27, column: 34, }, end: Position { line: 27, column: 84, }, }, }, ), ], span: Span { start: Position { line: 27, column: 33, }, end: Position { line: 27, column: 85, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 31, column: 3, }, end: Position { line: 31, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 33, column: 8, }, end: Position { line: 33, column: 29, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 33, column: 33, }, end: Position { line: 33, column: 41, }, }, }, ), ], span: Span { start: Position { line: 33, column: 32, }, end: Position { line: 33, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 33, column: 44, }, end: Position { line: 33, column: 50, }, }, }, ), ], span: Span { start: Position { line: 33, column: 43, }, end: Position { line: 33, column: 51, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "optimus_prime", span: Span { start: Position { line: 33, column: 53, }, end: Position { line: 33, column: 66, }, }, }, ), ], span: Span { start: Position { line: 33, column: 52, }, end: Position { line: 33, column: 67, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 33, column: 69, }, end: Position { line: 33, column: 75, }, }, }, ), ], span: Span { start: Position { line: 33, column: 68, }, end: Position { line: 33, column: 76, }, }, }, ), ], span: Span { start: Position { line: 33, column: 30, }, end: Position { line: 33, column: 78, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 33, column: 82, }, end: Position { line: 33, column: 90, }, }, }, ), ], span: Span { start: Position { line: 33, column: 81, }, end: Position { line: 33, column: 91, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 33, column: 93, }, end: Position { line: 33, column: 99, }, }, }, ), ], span: Span { start: Position { line: 33, column: 92, }, end: Position { line: 33, column: 100, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "prime", span: Span { start: Position { line: 33, column: 102, }, end: Position { line: 33, column: 107, }, }, }, ), ], span: Span { start: Position { line: 33, column: 101, }, end: Position { line: 33, column: 108, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "sync", span: Span { start: Position { line: 33, column: 110, }, end: Position { line: 33, column: 114, }, }, }, ), ], span: Span { start: Position { line: 33, column: 109, }, end: Position { line: 33, column: 115, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 33, column: 117, }, end: Position { line: 33, column: 123, }, }, }, ), ], span: Span { start: Position { line: 33, column: 116, }, end: Position { line: 33, column: 124, }, }, }, ), ], span: Span { start: Position { line: 33, column: 79, }, end: Position { line: 33, column: 126, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 34, column: 8, }, end: Position { line: 34, column: 29, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 34, column: 33, }, end: Position { line: 34, column: 41, }, }, }, ), ], span: Span { start: Position { line: 34, column: 32, }, end: Position { line: 34, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 34, column: 44, }, end: Position { line: 34, column: 50, }, }, }, ), ], span: Span { start: Position { line: 34, column: 43, }, end: Position { line: 34, column: 51, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "optimus_prime", span: Span { start: Position { line: 34, column: 53, }, end: Position { line: 34, column: 66, }, }, }, ), ], span: Span { start: Position { line: 34, column: 52, }, end: Position { line: 34, column: 67, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "allowExternalGpu", span: Span { start: Position { line: 34, column: 69, }, end: Position { line: 34, column: 85, }, }, }, ), ], span: Span { start: Position { line: 34, column: 68, }, end: Position { line: 34, column: 86, }, }, }, ), ], span: Span { start: Position { line: 34, column: 30, }, end: Position { line: 34, column: 88, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 34, column: 92, }, end: Position { line: 34, column: 100, }, }, }, ), ], span: Span { start: Position { line: 34, column: 91, }, end: Position { line: 34, column: 101, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 34, column: 103, }, end: Position { line: 34, column: 109, }, }, }, ), ], span: Span { start: Position { line: 34, column: 102, }, end: Position { line: 34, column: 110, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "prime", span: Span { start: Position { line: 34, column: 112, }, end: Position { line: 34, column: 117, }, }, }, ), ], span: Span { start: Position { line: 34, column: 111, }, end: Position { line: 34, column: 118, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "sync", span: Span { start: Position { line: 34, column: 120, }, end: Position { line: 34, column: 124, }, }, }, ), ], span: Span { start: Position { line: 34, column: 119, }, end: Position { line: 34, column: 125, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "allowExternalGpu", span: Span { start: Position { line: 34, column: 127, }, end: Position { line: 34, column: 143, }, }, }, ), ], span: Span { start: Position { line: 34, column: 126, }, end: Position { line: 34, column: 144, }, }, }, ), ], span: Span { start: Position { line: 34, column: 89, }, end: Position { line: 34, column: 146, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 35, column: 8, }, end: Position { line: 35, column: 29, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 35, column: 33, }, end: Position { line: 35, column: 41, }, }, }, ), ], span: Span { start: Position { line: 35, column: 32, }, end: Position { line: 35, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 35, column: 44, }, end: Position { line: 35, column: 50, }, }, }, ), ], span: Span { start: Position { line: 35, column: 43, }, end: Position { line: 35, column: 51, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "optimus_prime", span: Span { start: Position { line: 35, column: 53, }, end: Position { line: 35, column: 66, }, }, }, ), ], span: Span { start: Position { line: 35, column: 52, }, end: Position { line: 35, column: 67, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidiaBusId", span: Span { start: Position { line: 35, column: 69, }, end: Position { line: 35, column: 80, }, }, }, ), ], span: Span { start: Position { line: 35, column: 68, }, end: Position { line: 35, column: 81, }, }, }, ), ], span: Span { start: Position { line: 35, column: 30, }, end: Position { line: 35, column: 83, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 35, column: 87, }, end: Position { line: 35, column: 95, }, }, }, ), ], span: Span { start: Position { line: 35, column: 86, }, end: Position { line: 35, column: 96, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 35, column: 98, }, end: Position { line: 35, column: 104, }, }, }, ), ], span: Span { start: Position { line: 35, column: 97, }, end: Position { line: 35, column: 105, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "prime", span: Span { start: Position { line: 35, column: 107, }, end: Position { line: 35, column: 112, }, }, }, ), ], span: Span { start: Position { line: 35, column: 106, }, end: Position { line: 35, column: 113, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidiaBusId", span: Span { start: Position { line: 35, column: 115, }, end: Position { line: 35, column: 126, }, }, }, ), ], span: Span { start: Position { line: 35, column: 114, }, end: Position { line: 35, column: 127, }, }, }, ), ], span: Span { start: Position { line: 35, column: 84, }, end: Position { line: 35, column: 129, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 36, column: 8, }, end: Position { line: 36, column: 29, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 36, column: 33, }, end: Position { line: 36, column: 41, }, }, }, ), ], span: Span { start: Position { line: 36, column: 32, }, end: Position { line: 36, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 36, column: 44, }, end: Position { line: 36, column: 50, }, }, }, ), ], span: Span { start: Position { line: 36, column: 43, }, end: Position { line: 36, column: 51, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "optimus_prime", span: Span { start: Position { line: 36, column: 53, }, end: Position { line: 36, column: 66, }, }, }, ), ], span: Span { start: Position { line: 36, column: 52, }, end: Position { line: 36, column: 67, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "intelBusId", span: Span { start: Position { line: 36, column: 69, }, end: Position { line: 36, column: 79, }, }, }, ), ], span: Span { start: Position { line: 36, column: 68, }, end: Position { line: 36, column: 80, }, }, }, ), ], span: Span { start: Position { line: 36, column: 30, }, end: Position { line: 36, column: 82, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 36, column: 86, }, end: Position { line: 36, column: 94, }, }, }, ), ], span: Span { start: Position { line: 36, column: 85, }, end: Position { line: 36, column: 95, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 36, column: 97, }, end: Position { line: 36, column: 103, }, }, }, ), ], span: Span { start: Position { line: 36, column: 96, }, end: Position { line: 36, column: 104, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "prime", span: Span { start: Position { line: 36, column: 106, }, end: Position { line: 36, column: 111, }, }, }, ), ], span: Span { start: Position { line: 36, column: 105, }, end: Position { line: 36, column: 112, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "intelBusId", span: Span { start: Position { line: 36, column: 114, }, end: Position { line: 36, column: 124, }, }, }, ), ], span: Span { start: Position { line: 36, column: 113, }, end: Position { line: 36, column: 125, }, }, }, ), ], span: Span { start: Position { line: 36, column: 83, }, end: Position { line: 36, column: 127, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 37, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 39, column: 3, }, end: Position { line: 39, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 40, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 40, column: 14, }, end: Position { line: 40, column: 20, }, }, }, ), Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 40, column: 21, }, end: Position { line: 40, column: 36, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 40, column: 37, }, end: Position { line: 40, column: 43, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 40, column: 46, }, end: Position { line: 40, column: 54, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 41, column: 14, }, end: Position { line: 41, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 41, column: 20, }, end: Position { line: 41, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 43, column: 21, }, end: Position { line: 43, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 43, column: 25, }, end: Position { line: 43, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Experimental power management through systemd. For more information, see\nthe NVIDIA docs, on Chapter 21. Configuring Power Management Support.\n", span: Span { start: Position { line: 44, column: 1, }, end: Position { line: 46, column: 7, }, }, }, ), ], span: Span { start: Position { line: 43, column: 31, }, end: Position { line: 46, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 40, column: 55, }, end: Position { line: 47, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 49, column: 14, }, end: Position { line: 49, column: 20, }, }, }, ), Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 49, column: 21, }, end: Position { line: 49, column: 36, }, }, }, ), Raw( PartRaw { content: "finegrained", span: Span { start: Position { line: 49, column: 37, }, end: Position { line: 49, column: 48, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 49, column: 51, }, end: Position { line: 49, column: 59, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 50, column: 7, }, end: Position { line: 50, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 50, column: 14, }, end: Position { line: 50, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 50, column: 20, }, end: Position { line: 50, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 51, column: 17, }, end: Position { line: 51, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 52, column: 21, }, end: Position { line: 52, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 52, column: 25, }, end: Position { line: 52, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Experimental power management of PRIME offload. For more information, see\nthe NVIDIA docs, chapter 22. PCI-Express runtime power management.\n", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 55, column: 7, }, }, }, ), ], span: Span { start: Position { line: 52, column: 31, }, end: Position { line: 55, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 49, column: 60, }, end: Position { line: 56, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 58, column: 5, }, end: Position { line: 58, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 58, column: 14, }, end: Position { line: 58, column: 20, }, }, }, ), Raw( PartRaw { content: "modesetting", span: Span { start: Position { line: 58, column: 21, }, end: Position { line: 58, column: 32, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 58, column: 33, }, end: Position { line: 58, column: 39, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 58, column: 42, }, end: Position { line: 58, column: 50, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 59, column: 7, }, end: Position { line: 59, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 59, column: 14, }, end: Position { line: 59, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 59, column: 20, }, end: Position { line: 59, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 60, column: 7, }, end: Position { line: 60, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 60, column: 17, }, end: Position { line: 60, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 61, column: 21, }, end: Position { line: 61, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 61, column: 25, }, end: Position { line: 61, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable kernel modesetting when using the NVIDIA proprietary driver.\n\nEnabling this fixes screen tearing when using Optimus via PRIME (see\n{option}`hardware.nvidia.prime.sync.enable`. This is not enabled\nby default because it is not officially supported by NVIDIA and would not\nwork with SLI.\n", span: Span { start: Position { line: 62, column: 1, }, end: Position { line: 68, column: 7, }, }, }, ), ], span: Span { start: Position { line: 61, column: 31, }, end: Position { line: 68, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 58, column: 51, }, end: Position { line: 69, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 71, column: 5, }, end: Position { line: 71, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 71, column: 14, }, end: Position { line: 71, column: 20, }, }, }, ), Raw( PartRaw { content: "prime", span: Span { start: Position { line: 71, column: 21, }, end: Position { line: 71, column: 26, }, }, }, ), Raw( PartRaw { content: "nvidiaBusId", span: Span { start: Position { line: 71, column: 27, }, end: Position { line: 71, column: 38, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 71, column: 41, }, end: Position { line: 71, column: 49, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 72, column: 7, }, end: Position { line: 72, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "busIDType", span: Span { start: Position { line: 72, column: 14, }, end: Position { line: 72, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 14, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 73, column: 17, }, end: Position { line: 73, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 74, column: 7, }, end: Position { line: 74, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "PCI:1:0:0", span: Span { start: Position { line: 74, column: 18, }, end: Position { line: 74, column: 27, }, }, }, ), ], span: Span { start: Position { line: 74, column: 17, }, end: Position { line: 74, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 75, column: 7, }, end: Position { line: 75, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 75, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 75, column: 25, }, end: Position { line: 75, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Bus ID of the NVIDIA GPU. You can find it using lspci; for example if lspci\nshows the NVIDIA GPU at \"01:00.0\", set this option to \"PCI:1:0:0\".\n", span: Span { start: Position { line: 76, column: 1, }, end: Position { line: 78, column: 7, }, }, }, ), ], span: Span { start: Position { line: 75, column: 31, }, end: Position { line: 78, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 71, column: 50, }, end: Position { line: 79, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 81, column: 5, }, end: Position { line: 81, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 81, column: 14, }, end: Position { line: 81, column: 20, }, }, }, ), Raw( PartRaw { content: "prime", span: Span { start: Position { line: 81, column: 21, }, end: Position { line: 81, column: 26, }, }, }, ), Raw( PartRaw { content: "intelBusId", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 37, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 81, column: 40, }, end: Position { line: 81, column: 48, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 82, column: 7, }, end: Position { line: 82, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "busIDType", span: Span { start: Position { line: 82, column: 14, }, end: Position { line: 82, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 14, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 83, column: 17, }, end: Position { line: 83, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 84, column: 7, }, end: Position { line: 84, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "PCI:0:2:0", span: Span { start: Position { line: 84, column: 18, }, end: Position { line: 84, column: 27, }, }, }, ), ], span: Span { start: Position { line: 84, column: 17, }, end: Position { line: 84, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 85, column: 7, }, end: Position { line: 85, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 85, column: 21, }, end: Position { line: 85, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 85, column: 25, }, end: Position { line: 85, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Bus ID of the Intel GPU. You can find it using lspci; for example if lspci\nshows the Intel GPU at \"00:02.0\", set this option to \"PCI:0:2:0\".\n", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 88, column: 7, }, }, }, ), ], span: Span { start: Position { line: 85, column: 31, }, end: Position { line: 88, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 81, column: 49, }, end: Position { line: 89, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 91, column: 5, }, end: Position { line: 91, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 91, column: 14, }, end: Position { line: 91, column: 20, }, }, }, ), Raw( PartRaw { content: "prime", span: Span { start: Position { line: 91, column: 21, }, end: Position { line: 91, column: 26, }, }, }, ), Raw( PartRaw { content: "amdgpuBusId", span: Span { start: Position { line: 91, column: 27, }, end: Position { line: 91, column: 38, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 91, column: 41, }, end: Position { line: 91, column: 49, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 92, column: 7, }, end: Position { line: 92, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "busIDType", span: Span { start: Position { line: 92, column: 14, }, end: Position { line: 92, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 93, column: 7, }, end: Position { line: 93, column: 14, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 93, column: 17, }, end: Position { line: 93, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 94, column: 7, }, end: Position { line: 94, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "PCI:4:0:0", span: Span { start: Position { line: 94, column: 18, }, end: Position { line: 94, column: 27, }, }, }, ), ], span: Span { start: Position { line: 94, column: 17, }, end: Position { line: 94, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 95, column: 7, }, end: Position { line: 95, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 95, column: 21, }, end: Position { line: 95, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 95, column: 25, }, end: Position { line: 95, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Bus ID of the AMD APU. You can find it using lspci; for example if lspci\nshows the AMD APU at \"04:00.0\", set this option to \"PCI:4:0:0\".\n", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 98, column: 7, }, }, }, ), ], span: Span { start: Position { line: 95, column: 31, }, end: Position { line: 98, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 91, column: 50, }, end: Position { line: 99, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 101, column: 5, }, end: Position { line: 101, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 101, column: 14, }, end: Position { line: 101, column: 20, }, }, }, ), Raw( PartRaw { content: "prime", span: Span { start: Position { line: 101, column: 21, }, end: Position { line: 101, column: 26, }, }, }, ), Raw( PartRaw { content: "sync", span: Span { start: Position { line: 101, column: 27, }, end: Position { line: 101, column: 31, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 101, column: 32, }, end: Position { line: 101, column: 38, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 101, column: 41, }, end: Position { line: 101, column: 49, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 102, column: 7, }, end: Position { line: 102, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 102, column: 14, }, end: Position { line: 102, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 102, column: 20, }, end: Position { line: 102, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 103, column: 17, }, end: Position { line: 103, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 104, column: 7, }, end: Position { line: 104, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 104, column: 21, }, end: Position { line: 104, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 104, column: 25, }, end: Position { line: 104, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable NVIDIA Optimus support using the NVIDIA proprietary driver via PRIME.\nIf enabled, the NVIDIA GPU will be always on and used for all rendering,\nwhile enabling output to displays attached only to the integrated Intel GPU\nwithout a multiplexer.\n\nNote that this option only has any effect if the \"nvidia\" driver is specified\nin {option}`services.xserver.videoDrivers`, and it should preferably\nbe the only driver there.\n\nIf this is enabled, then the bus IDs of the NVIDIA and Intel GPUs have to be\nspecified ({option}`hardware.nvidia.prime.nvidiaBusId` and\n{option}`hardware.nvidia.prime.intelBusId`).\n\nIf you enable this, you may want to also enable kernel modesetting for the\nNVIDIA driver ({option}`hardware.nvidia.modesetting.enable`) in order\nto prevent tearing.\n\nNote that this configuration will only be successful when a display manager\nfor which the {option}`services.xserver.displayManager.setupCommands`\noption is supported is used.\n", span: Span { start: Position { line: 105, column: 1, }, end: Position { line: 125, column: 7, }, }, }, ), ], span: Span { start: Position { line: 104, column: 31, }, end: Position { line: 125, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 101, column: 50, }, end: Position { line: 126, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 128, column: 5, }, end: Position { line: 128, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 128, column: 14, }, end: Position { line: 128, column: 20, }, }, }, ), Raw( PartRaw { content: "prime", span: Span { start: Position { line: 128, column: 21, }, end: Position { line: 128, column: 26, }, }, }, ), Raw( PartRaw { content: "sync", span: Span { start: Position { line: 128, column: 27, }, end: Position { line: 128, column: 31, }, }, }, ), Raw( PartRaw { content: "allowExternalGpu", span: Span { start: Position { line: 128, column: 32, }, end: Position { line: 128, column: 48, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 128, column: 51, }, end: Position { line: 128, column: 59, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 129, column: 7, }, end: Position { line: 129, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 129, column: 14, }, end: Position { line: 129, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 129, column: 20, }, end: Position { line: 129, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 130, column: 7, }, end: Position { line: 130, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 130, column: 17, }, end: Position { line: 130, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 131, column: 7, }, end: Position { line: 131, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 131, column: 21, }, end: Position { line: 131, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 131, column: 25, }, end: Position { line: 131, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configure X to allow external NVIDIA GPUs when using optimus.\n", span: Span { start: Position { line: 132, column: 1, }, end: Position { line: 133, column: 7, }, }, }, ), ], span: Span { start: Position { line: 131, column: 31, }, end: Position { line: 133, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 128, column: 60, }, end: Position { line: 134, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 136, column: 5, }, end: Position { line: 136, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 136, column: 14, }, end: Position { line: 136, column: 20, }, }, }, ), Raw( PartRaw { content: "prime", span: Span { start: Position { line: 136, column: 21, }, end: Position { line: 136, column: 26, }, }, }, ), Raw( PartRaw { content: "offload", span: Span { start: Position { line: 136, column: 27, }, end: Position { line: 136, column: 34, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 136, column: 35, }, end: Position { line: 136, column: 41, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 136, column: 44, }, end: Position { line: 136, column: 52, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 137, column: 7, }, end: Position { line: 137, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 137, column: 14, }, end: Position { line: 137, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 137, column: 20, }, end: Position { line: 137, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 138, column: 7, }, end: Position { line: 138, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 138, column: 17, }, end: Position { line: 138, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 139, column: 21, }, end: Position { line: 139, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 139, column: 25, }, end: Position { line: 139, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable render offload support using the NVIDIA proprietary driver via PRIME.\n\nIf this is enabled, then the bus IDs of the NVIDIA and Intel GPUs have to be\nspecified ({option}`hardware.nvidia.prime.nvidiaBusId` and\n{option}`hardware.nvidia.prime.intelBusId`).\n", span: Span { start: Position { line: 140, column: 1, }, end: Position { line: 145, column: 7, }, }, }, ), ], span: Span { start: Position { line: 139, column: 31, }, end: Position { line: 145, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 136, column: 53, }, end: Position { line: 146, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 148, column: 5, }, end: Position { line: 148, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 148, column: 14, }, end: Position { line: 148, column: 20, }, }, }, ), Raw( PartRaw { content: "nvidiaSettings", span: Span { start: Position { line: 148, column: 21, }, end: Position { line: 148, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 148, column: 38, }, end: Position { line: 148, column: 46, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 149, column: 7, }, end: Position { line: 149, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 149, column: 17, }, end: Position { line: 149, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 150, column: 7, }, end: Position { line: 150, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 150, column: 14, }, end: Position { line: 150, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 150, column: 20, }, end: Position { line: 150, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 151, column: 7, }, end: Position { line: 151, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 151, column: 21, }, end: Position { line: 151, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 151, column: 25, }, end: Position { line: 151, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to add nvidia-settings, NVIDIA's GUI configuration tool, to\nsystemPackages.\n", span: Span { start: Position { line: 152, column: 1, }, end: Position { line: 154, column: 7, }, }, }, ), ], span: Span { start: Position { line: 151, column: 31, }, end: Position { line: 154, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 148, column: 47, }, end: Position { line: 155, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 157, column: 5, }, end: Position { line: 157, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 157, column: 14, }, end: Position { line: 157, column: 20, }, }, }, ), Raw( PartRaw { content: "nvidiaPersistenced", span: Span { start: Position { line: 157, column: 21, }, end: Position { line: 157, column: 39, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 157, column: 42, }, end: Position { line: 157, column: 50, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 158, column: 7, }, end: Position { line: 158, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 158, column: 17, }, end: Position { line: 158, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 159, column: 7, }, end: Position { line: 159, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 159, column: 14, }, end: Position { line: 159, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 159, column: 20, }, end: Position { line: 159, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 160, column: 7, }, end: Position { line: 160, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 160, column: 21, }, end: Position { line: 160, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 160, column: 25, }, end: Position { line: 160, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Update for NVIDA GPU headless mode, i.e. nvidia-persistenced. It ensures all\nGPUs stay awake even during headless mode.\n", span: Span { start: Position { line: 161, column: 1, }, end: Position { line: 163, column: 7, }, }, }, ), ], span: Span { start: Position { line: 160, column: 31, }, end: Position { line: 163, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 157, column: 51, }, end: Position { line: 164, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 166, column: 5, }, end: Position { line: 166, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 166, column: 14, }, end: Position { line: 166, column: 20, }, }, }, ), Raw( PartRaw { content: "forceFullCompositionPipeline", span: Span { start: Position { line: 166, column: 21, }, end: Position { line: 166, column: 49, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 166, column: 52, }, end: Position { line: 166, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 166, column: 56, }, end: Position { line: 166, column: 64, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 167, column: 7, }, end: Position { line: 167, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 167, column: 17, }, end: Position { line: 167, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 168, column: 7, }, end: Position { line: 168, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 168, column: 14, }, end: Position { line: 168, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 168, column: 20, }, end: Position { line: 168, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 169, column: 7, }, end: Position { line: 169, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 169, column: 21, }, end: Position { line: 169, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 169, column: 25, }, end: Position { line: 169, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to force-enable the full composition pipeline.\nThis sometimes fixes screen tearing issues.\nThis has been reported to reduce the performance of some OpenGL applications and may produce issues in WebGL.\nIt also drastically increases the time the driver needs to clock down after load.\n", span: Span { start: Position { line: 170, column: 1, }, end: Position { line: 174, column: 7, }, }, }, ), ], span: Span { start: Position { line: 169, column: 31, }, end: Position { line: 174, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 166, column: 65, }, end: Position { line: 175, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 177, column: 5, }, end: Position { line: 177, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 177, column: 14, }, end: Position { line: 177, column: 20, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 177, column: 21, }, end: Position { line: 177, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 177, column: 31, }, end: Position { line: 177, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 177, column: 35, }, end: Position { line: 177, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 178, column: 7, }, end: Position { line: 178, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 178, column: 14, }, end: Position { line: 178, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 178, column: 20, }, end: Position { line: 178, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 179, column: 17, }, end: Position { line: 179, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 179, column: 24, }, end: Position { line: 179, column: 28, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 179, column: 29, }, end: Position { line: 179, column: 43, }, }, }, ), Raw( PartRaw { content: "nvidiaPackages", span: Span { start: Position { line: 179, column: 44, }, end: Position { line: 179, column: 58, }, }, }, ), Raw( PartRaw { content: "stable", span: Span { start: Position { line: 179, column: 59, }, end: Position { line: 179, column: 65, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 180, column: 7, }, end: Position { line: 180, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 180, column: 21, }, end: Position { line: 180, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config.boot.kernelPackages.nvidiaPackages.stable", span: Span { start: Position { line: 180, column: 40, }, end: Position { line: 180, column: 88, }, }, }, ), ], span: Span { start: Position { line: 180, column: 39, }, end: Position { line: 180, column: 89, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 181, column: 7, }, end: Position { line: 181, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 181, column: 21, }, end: Position { line: 181, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 181, column: 25, }, end: Position { line: 181, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The NVIDIA X11 derivation to use.\n", span: Span { start: Position { line: 182, column: 1, }, end: Position { line: 183, column: 7, }, }, }, ), ], span: Span { start: Position { line: 181, column: 31, }, end: Position { line: 183, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 184, column: 7, }, end: Position { line: 184, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 184, column: 17, }, end: Position { line: 184, column: 34, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config.boot.kernelPackages.nvidiaPackages.legacy_340", span: Span { start: Position { line: 184, column: 36, }, end: Position { line: 184, column: 88, }, }, }, ), ], span: Span { start: Position { line: 184, column: 35, }, end: Position { line: 184, column: 89, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 177, column: 44, }, end: Position { line: 185, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 187, column: 5, }, end: Position { line: 187, column: 13, }, }, }, ), Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 187, column: 14, }, end: Position { line: 187, column: 20, }, }, }, ), Raw( PartRaw { content: "open", span: Span { start: Position { line: 187, column: 21, }, end: Position { line: 187, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 187, column: 28, }, end: Position { line: 187, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 187, column: 32, }, end: Position { line: 187, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 188, column: 7, }, end: Position { line: 188, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 188, column: 14, }, end: Position { line: 188, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 188, column: 18, }, end: Position { line: 188, column: 23, }, }, }, ), Raw( PartRaw { content: "bool", span: Span { start: Position { line: 188, column: 24, }, end: Position { line: 188, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 189, column: 7, }, end: Position { line: 189, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 189, column: 17, }, end: Position { line: 189, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 190, column: 7, }, end: Position { line: 190, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 190, column: 21, }, end: Position { line: 190, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 190, column: 25, }, end: Position { line: 190, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to use the open source kernel module\n", span: Span { start: Position { line: 191, column: 1, }, end: Position { line: 192, column: 7, }, }, }, ), ], span: Span { start: Position { line: 190, column: 31, }, end: Position { line: 192, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 187, column: 41, }, end: Position { line: 193, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 39, column: 13, }, end: Position { line: 194, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 196, column: 3, }, end: Position { line: 196, column: 9, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "igpuDriver", span: Span { start: Position { line: 197, column: 7, }, end: Position { line: 197, column: 17, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 197, column: 23, }, end: Position { line: 197, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "intelBusId", span: Span { start: Position { line: 197, column: 28, }, end: Position { line: 197, column: 38, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 197, column: 42, }, end: Position { line: 197, column: 44, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "modesetting", span: Span { start: Position { line: 197, column: 51, }, end: Position { line: 197, column: 62, }, }, }, ), ], span: Span { start: Position { line: 197, column: 50, }, end: Position { line: 197, column: 63, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "amdgpu", span: Span { start: Position { line: 197, column: 70, }, end: Position { line: 197, column: 76, }, }, }, ), ], span: Span { start: Position { line: 197, column: 69, }, end: Position { line: 197, column: 77, }, }, }, ), span: Span { start: Position { line: 197, column: 20, }, end: Position { line: 197, column: 77, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "igpuBusId", span: Span { start: Position { line: 198, column: 7, }, end: Position { line: 198, column: 16, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 198, column: 22, }, end: Position { line: 198, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "intelBusId", span: Span { start: Position { line: 198, column: 27, }, end: Position { line: 198, column: 37, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 198, column: 41, }, end: Position { line: 198, column: 43, }, }, }, ), }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 198, column: 49, }, end: Position { line: 198, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "intelBusId", span: Span { start: Position { line: 198, column: 54, }, end: Position { line: 198, column: 64, }, }, }, ), ], default: None, }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 198, column: 70, }, end: Position { line: 198, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "amdgpuBusId", span: Span { start: Position { line: 198, column: 75, }, end: Position { line: 198, column: 86, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 198, column: 19, }, end: Position { line: 198, column: 86, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 199, column: 6, }, end: Position { line: 199, column: 10, }, }, }, ), arguments: [ Identifier( Identifier { id: "enabled", span: Span { start: Position { line: 199, column: 11, }, end: Position { line: 199, column: 18, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 200, column: 5, }, end: Position { line: 200, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 202, column: 9, }, end: Position { line: 202, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "primeEnabled", span: Span { start: Position { line: 202, column: 21, }, end: Position { line: 202, column: 33, }, }, }, ), operator: Implication, right: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 202, column: 37, }, end: Position { line: 202, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "intelBusId", span: Span { start: Position { line: 202, column: 42, }, end: Position { line: 202, column: 52, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 202, column: 56, }, end: Position { line: 202, column: 58, }, }, }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 202, column: 62, }, end: Position { line: 202, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "amdgpuBusId", span: Span { start: Position { line: 202, column: 67, }, end: Position { line: 202, column: 78, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 202, column: 82, }, end: Position { line: 202, column: 84, }, }, }, ), }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 203, column: 9, }, end: Position { line: 203, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "You cannot configure both an Intel iGPU and an AMD APU. Pick the one corresponding to your processor.\n", span: Span { start: Position { line: 204, column: 1, }, end: Position { line: 205, column: 9, }, }, }, ), ], span: Span { start: Position { line: 203, column: 19, }, end: Position { line: 205, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 201, column: 7, }, end: Position { line: 206, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 209, column: 9, }, end: Position { line: 209, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "primeEnabled", span: Span { start: Position { line: 209, column: 21, }, end: Position { line: 209, column: 33, }, }, }, ), operator: Implication, right: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 209, column: 37, }, end: Position { line: 209, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nvidiaBusId", span: Span { start: Position { line: 209, column: 42, }, end: Position { line: 209, column: 53, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 209, column: 57, }, end: Position { line: 209, column: 59, }, }, }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 209, column: 64, }, end: Position { line: 209, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "intelBusId", span: Span { start: Position { line: 209, column: 69, }, end: Position { line: 209, column: 79, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 209, column: 83, }, end: Position { line: 209, column: 85, }, }, }, ), }, ), operator: LogicalOr, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 209, column: 89, }, end: Position { line: 209, column: 93, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "amdgpuBusId", span: Span { start: Position { line: 209, column: 94, }, end: Position { line: 209, column: 105, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 209, column: 109, }, end: Position { line: 209, column: 111, }, }, }, ), }, ), }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 210, column: 9, }, end: Position { line: 210, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "When NVIDIA PRIME is enabled, the GPU bus IDs must configured.\n", span: Span { start: Position { line: 211, column: 1, }, end: Position { line: 212, column: 9, }, }, }, ), ], span: Span { start: Position { line: 210, column: 19, }, end: Position { line: 212, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 208, column: 7, }, end: Position { line: 213, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 216, column: 9, }, end: Position { line: 216, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "offloadCfg", span: Span { start: Position { line: 216, column: 21, }, end: Position { line: 216, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 216, column: 32, }, end: Position { line: 216, column: 38, }, }, }, ), ], default: None, }, ), operator: Implication, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 216, column: 42, }, end: Position { line: 216, column: 56, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 216, column: 57, }, end: Position { line: 216, column: 67, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "version", span: Span { start: Position { line: 216, column: 68, }, end: Position { line: 216, column: 75, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "435.21", span: Span { start: Position { line: 216, column: 77, }, end: Position { line: 216, column: 83, }, }, }, ), ], span: Span { start: Position { line: 216, column: 76, }, end: Position { line: 216, column: 84, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 217, column: 9, }, end: Position { line: 217, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "NVIDIA PRIME render offload is currently only supported on versions >= 435.21.", span: Span { start: Position { line: 217, column: 20, }, end: Position { line: 217, column: 98, }, }, }, ), ], span: Span { start: Position { line: 217, column: 19, }, end: Position { line: 217, column: 99, }, }, }, ), }, ), ], span: Span { start: Position { line: 215, column: 7, }, end: Position { line: 218, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 221, column: 9, }, end: Position { line: 221, column: 18, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "syncCfg", span: Span { start: Position { line: 221, column: 23, }, end: Position { line: 221, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 221, column: 31, }, end: Position { line: 221, column: 37, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "offloadCfg", span: Span { start: Position { line: 221, column: 41, }, end: Position { line: 221, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 221, column: 52, }, end: Position { line: 221, column: 58, }, }, }, ), ], default: None, }, ), }, ), span: Span { start: Position { line: 221, column: 21, }, end: Position { line: 221, column: 59, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 222, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Only one NVIDIA PRIME solution may be used at a time.", span: Span { start: Position { line: 222, column: 20, }, end: Position { line: 222, column: 73, }, }, }, ), ], span: Span { start: Position { line: 222, column: 19, }, end: Position { line: 222, column: 74, }, }, }, ), }, ), ], span: Span { start: Position { line: 220, column: 7, }, end: Position { line: 223, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 226, column: 9, }, end: Position { line: 226, column: 18, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "syncCfg", span: Span { start: Position { line: 226, column: 23, }, end: Position { line: 226, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 226, column: 31, }, end: Position { line: 226, column: 37, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 226, column: 41, }, end: Position { line: 226, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 226, column: 45, }, end: Position { line: 226, column: 60, }, }, }, ), Raw( PartRaw { content: "finegrained", span: Span { start: Position { line: 226, column: 61, }, end: Position { line: 226, column: 72, }, }, }, ), ], default: None, }, ), }, ), span: Span { start: Position { line: 226, column: 21, }, end: Position { line: 226, column: 73, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 227, column: 9, }, end: Position { line: 227, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Sync precludes powering down the NVIDIA GPU.", span: Span { start: Position { line: 227, column: 20, }, end: Position { line: 227, column: 64, }, }, }, ), ], span: Span { start: Position { line: 227, column: 19, }, end: Position { line: 227, column: 65, }, }, }, ), }, ), ], span: Span { start: Position { line: 225, column: 7, }, end: Position { line: 228, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 231, column: 9, }, end: Position { line: 231, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 231, column: 21, }, end: Position { line: 231, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 231, column: 25, }, end: Position { line: 231, column: 40, }, }, }, ), Raw( PartRaw { content: "finegrained", span: Span { start: Position { line: 231, column: 41, }, end: Position { line: 231, column: 52, }, }, }, ), ], default: None, }, ), operator: Implication, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "offloadCfg", span: Span { start: Position { line: 231, column: 56, }, end: Position { line: 231, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 231, column: 67, }, end: Position { line: 231, column: 73, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 232, column: 9, }, end: Position { line: 232, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Fine-grained power management requires offload to be enabled.", span: Span { start: Position { line: 232, column: 20, }, end: Position { line: 232, column: 81, }, }, }, ), ], span: Span { start: Position { line: 232, column: 19, }, end: Position { line: 232, column: 82, }, }, }, ), }, ), ], span: Span { start: Position { line: 230, column: 7, }, end: Position { line: 233, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 236, column: 9, }, end: Position { line: 236, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 236, column: 21, }, end: Position { line: 236, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 236, column: 25, }, end: Position { line: 236, column: 40, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 236, column: 41, }, end: Position { line: 236, column: 47, }, }, }, ), ], default: None, }, ), operator: Implication, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 236, column: 51, }, end: Position { line: 236, column: 65, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 236, column: 66, }, end: Position { line: 236, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "version", span: Span { start: Position { line: 236, column: 77, }, end: Position { line: 236, column: 84, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "430.09", span: Span { start: Position { line: 236, column: 86, }, end: Position { line: 236, column: 92, }, }, }, ), ], span: Span { start: Position { line: 236, column: 85, }, end: Position { line: 236, column: 93, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 237, column: 9, }, end: Position { line: 237, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Required files for driver based power management only exist on versions >= 430.09.", span: Span { start: Position { line: 237, column: 20, }, end: Position { line: 237, column: 102, }, }, }, ), ], span: Span { start: Position { line: 237, column: 19, }, end: Position { line: 237, column: 103, }, }, }, ), }, ), ], span: Span { start: Position { line: 235, column: 7, }, end: Position { line: 238, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 241, column: 9, }, end: Position { line: 241, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 241, column: 21, }, end: Position { line: 241, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "open", span: Span { start: Position { line: 241, column: 25, }, end: Position { line: 241, column: 29, }, }, }, ), ], default: None, }, ), operator: Implication, right: BinaryOperation( BinaryOperation { left: HasAttribute( HasAttribute { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 241, column: 34, }, end: Position { line: 241, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 241, column: 38, }, end: Position { line: 241, column: 45, }, }, }, ), ], default: None, }, ), attribute_path: [ Raw( PartRaw { content: "open", span: Span { start: Position { line: 241, column: 48, }, end: Position { line: 241, column: 52, }, }, }, ), ], }, ), operator: LogicalAnd, right: HasAttribute( HasAttribute { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 241, column: 56, }, end: Position { line: 241, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 241, column: 60, }, end: Position { line: 241, column: 67, }, }, }, ), ], default: None, }, ), attribute_path: [ Raw( PartRaw { content: "firmware", span: Span { start: Position { line: 241, column: 70, }, end: Position { line: 241, column: 78, }, }, }, ), ], }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 242, column: 9, }, end: Position { line: 242, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "This version of NVIDIA driver does not provide a corresponding opensource kernel driver", span: Span { start: Position { line: 242, column: 20, }, end: Position { line: 242, column: 107, }, }, }, ), ], span: Span { start: Position { line: 242, column: 19, }, end: Position { line: 242, column: 108, }, }, }, ), }, ), ], span: Span { start: Position { line: 240, column: 7, }, end: Position { line: 243, column: 8, }, }, }, ), ], span: Span { start: Position { line: 200, column: 18, }, end: Position { line: 244, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 260, column: 5, }, end: Position { line: 260, column: 13, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 260, column: 14, }, end: Position { line: 260, column: 21, }, }, }, ), Raw( PartRaw { content: "drivers", span: Span { start: Position { line: 260, column: 22, }, end: Position { line: 260, column: 29, }, }, }, ), ], to: LetIn( LetIn { bindings: [], target: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 261, column: 8, }, end: Position { line: 261, column: 16, }, }, }, ), arguments: [ Identifier( Identifier { id: "primeEnabled", span: Span { start: Position { line: 261, column: 17, }, end: Position { line: 261, column: 29, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 262, column: 7, }, end: Position { line: 262, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "igpuDriver", span: Span { start: Position { line: 262, column: 14, }, end: Position { line: 262, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "display", span: Span { start: Position { line: 263, column: 7, }, end: Position { line: 263, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "offloadCfg", span: Span { start: Position { line: 263, column: 17, }, end: Position { line: 263, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 263, column: 28, }, end: Position { line: 263, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 264, column: 7, }, end: Position { line: 264, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionals", span: Span { start: Position { line: 264, column: 17, }, end: Position { line: 264, column: 26, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "igpuDriver", span: Span { start: Position { line: 264, column: 28, }, end: Position { line: 264, column: 38, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "amdgpu", span: Span { start: Position { line: 264, column: 43, }, end: Position { line: 264, column: 49, }, }, }, ), ], span: Span { start: Position { line: 264, column: 42, }, end: Position { line: 264, column: 50, }, }, }, ), }, ), List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 264, column: 54, }, end: Position { line: 264, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xorg", span: Span { start: Position { line: 264, column: 59, }, end: Position { line: 264, column: 63, }, }, }, ), Raw( PartRaw { content: "xf86videoamdgpu", span: Span { start: Position { line: 264, column: 64, }, end: Position { line: 264, column: 79, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 264, column: 52, }, end: Position { line: 264, column: 81, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "deviceSection", span: Span { start: Position { line: 265, column: 7, }, end: Position { line: 265, column: 20, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "BusID \"", span: Span { start: Position { line: 266, column: 1, }, end: Position { line: 266, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "igpuBusId", span: Span { start: Position { line: 266, column: 18, }, end: Position { line: 266, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: "\"\n", span: Span { start: Position { line: 266, column: 1, }, end: Position { line: 267, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 267, column: 11, }, end: Position { line: 267, column: 25, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "syncCfg", span: Span { start: Position { line: 267, column: 27, }, end: Position { line: 267, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 267, column: 35, }, end: Position { line: 267, column: 41, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "igpuDriver", span: Span { start: Position { line: 267, column: 45, }, end: Position { line: 267, column: 55, }, }, }, ), operator: NotEqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "amdgpu", span: Span { start: Position { line: 267, column: 60, }, end: Position { line: 267, column: 66, }, }, }, ), ], span: Span { start: Position { line: 267, column: 59, }, end: Position { line: 267, column: 67, }, }, }, ), }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Option \"AccelMethod\" \"none\"", span: Span { start: Position { line: 267, column: 71, }, end: Position { line: 267, column: 98, }, }, }, ), ], span: Span { start: Position { line: 267, column: 69, }, end: Position { line: 267, column: 100, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 266, column: 1, }, end: Position { line: 268, column: 7, }, }, }, ), ], span: Span { start: Position { line: 265, column: 23, }, end: Position { line: 268, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 261, column: 30, }, end: Position { line: 269, column: 6, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "singleton", span: Span { start: Position { line: 269, column: 10, }, end: Position { line: 269, column: 19, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 270, column: 7, }, end: Position { line: 270, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 270, column: 15, }, end: Position { line: 270, column: 21, }, }, }, ), ], span: Span { start: Position { line: 270, column: 14, }, end: Position { line: 270, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 271, column: 7, }, end: Position { line: 271, column: 14, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 271, column: 19, }, end: Position { line: 271, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bin", span: Span { start: Position { line: 271, column: 30, }, end: Position { line: 271, column: 33, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 271, column: 17, }, end: Position { line: 271, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "display", span: Span { start: Position { line: 272, column: 7, }, end: Position { line: 272, column: 14, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "offloadCfg", span: Span { start: Position { line: 272, column: 18, }, end: Position { line: 272, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 272, column: 29, }, end: Position { line: 272, column: 35, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 272, column: 17, }, end: Position { line: 272, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "deviceSection", span: Span { start: Position { line: 273, column: 7, }, end: Position { line: 273, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 273, column: 23, }, end: Position { line: 273, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "primeEnabled", span: Span { start: Position { line: 273, column: 38, }, end: Position { line: 273, column: 50, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "BusID \"", span: Span { start: Position { line: 275, column: 1, }, end: Position { line: 275, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pCfg", span: Span { start: Position { line: 275, column: 20, }, end: Position { line: 275, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nvidiaBusId", span: Span { start: Position { line: 275, column: 25, }, end: Position { line: 275, column: 36, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"\n", span: Span { start: Position { line: 275, column: 1, }, end: Position { line: 276, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 276, column: 13, }, end: Position { line: 276, column: 27, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "syncCfg", span: Span { start: Position { line: 276, column: 28, }, end: Position { line: 276, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "allowExternalGpu", span: Span { start: Position { line: 276, column: 36, }, end: Position { line: 276, column: 52, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Option \"AllowExternalGpus\"", span: Span { start: Position { line: 276, column: 54, }, end: Position { line: 276, column: 82, }, }, }, ), ], span: Span { start: Position { line: 276, column: 53, }, end: Position { line: 276, column: 83, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 275, column: 1, }, end: Position { line: 277, column: 9, }, }, }, ), ], span: Span { start: Position { line: 274, column: 9, }, end: Position { line: 277, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "screenSection", span: Span { start: Position { line: 278, column: 7, }, end: Position { line: 278, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Option \"RandRRotation\" \"on\"\n", span: Span { start: Position { line: 280, column: 1, }, end: Position { line: 281, column: 9, }, }, }, ), ], span: Span { start: Position { line: 279, column: 9, }, end: Position { line: 281, column: 11, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 281, column: 14, }, end: Position { line: 281, column: 28, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "syncCfg", span: Span { start: Position { line: 281, column: 29, }, end: Position { line: 281, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 281, column: 37, }, end: Position { line: 281, column: 43, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Option \"AllowEmptyInitialConfiguration\"\n", span: Span { start: Position { line: 282, column: 1, }, end: Position { line: 283, column: 9, }, }, }, ), ], span: Span { start: Position { line: 281, column: 44, }, end: Position { line: 283, column: 11, }, }, }, ), ], }, ), }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 283, column: 14, }, end: Position { line: 283, column: 28, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 283, column: 29, }, end: Position { line: 283, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "forceFullCompositionPipeline", span: Span { start: Position { line: 283, column: 33, }, end: Position { line: 283, column: 61, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Option \"metamodes\" \"nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}\"\nOption \"AllowIndirectGLXProtocol\" \"off\"\nOption \"TripleBuffer\" \"on\"\n", span: Span { start: Position { line: 284, column: 1, }, end: Position { line: 287, column: 9, }, }, }, ), ], span: Span { start: Position { line: 283, column: 62, }, end: Position { line: 287, column: 11, }, }, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 269, column: 20, }, end: Position { line: 289, column: 6, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 260, column: 32, }, end: Position { line: 289, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 291, column: 5, }, end: Position { line: 291, column: 13, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 291, column: 14, }, end: Position { line: 291, column: 21, }, }, }, ), Raw( PartRaw { content: "serverLayoutSection", span: Span { start: Position { line: 291, column: 22, }, end: Position { line: 291, column: 41, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 291, column: 44, }, end: Position { line: 291, column: 58, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "syncCfg", span: Span { start: Position { line: 291, column: 59, }, end: Position { line: 291, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 291, column: 67, }, end: Position { line: 291, column: 73, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Inactive \"Device-", span: Span { start: Position { line: 292, column: 1, }, end: Position { line: 292, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "igpuDriver", span: Span { start: Position { line: 292, column: 26, }, end: Position { line: 292, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "[0]\"\n", span: Span { start: Position { line: 292, column: 1, }, end: Position { line: 293, column: 5, }, }, }, ), ], span: Span { start: Position { line: 291, column: 74, }, end: Position { line: 293, column: 7, }, }, }, ), ], }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 293, column: 10, }, end: Position { line: 293, column: 24, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "offloadCfg", span: Span { start: Position { line: 293, column: 25, }, end: Position { line: 293, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 293, column: 36, }, end: Position { line: 293, column: 42, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Option \"AllowNVIDIAGPUScreens\"\n", span: Span { start: Position { line: 294, column: 1, }, end: Position { line: 295, column: 5, }, }, }, ), ], span: Span { start: Position { line: 293, column: 43, }, end: Position { line: 295, column: 7, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 297, column: 5, }, end: Position { line: 297, column: 13, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 297, column: 14, }, end: Position { line: 297, column: 21, }, }, }, ), Raw( PartRaw { content: "displayManager", span: Span { start: Position { line: 297, column: 22, }, end: Position { line: 297, column: 36, }, }, }, ), Raw( PartRaw { content: "setupCommands", span: Span { start: Position { line: 297, column: 37, }, end: Position { line: 297, column: 50, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sinkGpuProviderName", span: Span { start: Position { line: 298, column: 7, }, end: Position { line: 298, column: 26, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "igpuDriver", span: Span { start: Position { line: 298, column: 32, }, end: Position { line: 298, column: 42, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "amdgpu", span: Span { start: Position { line: 298, column: 47, }, end: Position { line: 298, column: 53, }, }, }, ), ], span: Span { start: Position { line: 298, column: 46, }, end: Position { line: 298, column: 54, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "`", span: Span { start: Position { line: 300, column: 10, }, end: Position { line: 300, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 300, column: 13, }, end: Position { line: 300, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xorg", span: Span { start: Position { line: 300, column: 18, }, end: Position { line: 300, column: 22, }, }, }, ), Raw( PartRaw { content: "xrandr", span: Span { start: Position { line: 300, column: 23, }, end: Position { line: 300, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/xrandr --listproviders | ", span: Span { start: Position { line: 300, column: 10, }, end: Position { line: 300, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 300, column: 62, }, end: Position { line: 300, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gnugrep", span: Span { start: Position { line: 300, column: 67, }, end: Position { line: 300, column: 74, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/grep -i AMD | ", span: Span { start: Position { line: 300, column: 10, }, end: Position { line: 300, column: 94, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 300, column: 96, }, end: Position { line: 300, column: 100, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gnused", span: Span { start: Position { line: 300, column: 101, }, end: Position { line: 300, column: 107, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/sed -n 's/^.*name://p'`", span: Span { start: Position { line: 300, column: 10, }, end: Position { line: 300, column: 136, }, }, }, ), ], span: Span { start: Position { line: 300, column: 9, }, end: Position { line: 300, column: 137, }, }, }, ), else_: Identifier( Identifier { id: "igpuDriver", span: Span { start: Position { line: 302, column: 9, }, end: Position { line: 302, column: 19, }, }, }, ), span: Span { start: Position { line: 298, column: 29, }, end: Position { line: 302, column: 19, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 303, column: 8, }, end: Position { line: 303, column: 22, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "syncCfg", span: Span { start: Position { line: 303, column: 23, }, end: Position { line: 303, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 303, column: 31, }, end: Position { line: 303, column: 37, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Added by nvidia configuration module for Optimus/PRIME.\n", span: Span { start: Position { line: 304, column: 1, }, end: Position { line: 305, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 305, column: 9, }, end: Position { line: 305, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xorg", span: Span { start: Position { line: 305, column: 14, }, end: Position { line: 305, column: 18, }, }, }, ), Raw( PartRaw { content: "xrandr", span: Span { start: Position { line: 305, column: 19, }, end: Position { line: 305, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/xrandr --setprovideroutputsource \"", span: Span { start: Position { line: 304, column: 1, }, end: Position { line: 305, column: 65, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "sinkGpuProviderName", span: Span { start: Position { line: 305, column: 67, }, end: Position { line: 305, column: 86, }, }, }, ), }, ), Raw( PartRaw { content: "\" NVIDIA-0\n", span: Span { start: Position { line: 304, column: 1, }, end: Position { line: 306, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 306, column: 9, }, end: Position { line: 306, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xorg", span: Span { start: Position { line: 306, column: 14, }, end: Position { line: 306, column: 18, }, }, }, ), Raw( PartRaw { content: "xrandr", span: Span { start: Position { line: 306, column: 19, }, end: Position { line: 306, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/xrandr --auto\n", span: Span { start: Position { line: 304, column: 1, }, end: Position { line: 307, column: 5, }, }, }, ), ], span: Span { start: Position { line: 303, column: 38, }, end: Position { line: 307, column: 7, }, }, }, ), ], }, ), span: Span { start: Position { line: 297, column: 53, }, end: Position { line: 307, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 309, column: 5, }, end: Position { line: 309, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 309, column: 17, }, end: Position { line: 309, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "nvidia/nvidia-application-profiles-rc", span: Span { start: Position { line: 309, column: 22, }, end: Position { line: 309, column: 59, }, }, }, ), ], span: Span { start: Position { line: 309, column: 21, }, end: Position { line: 309, column: 60, }, }, }, ), }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 309, column: 63, }, end: Position { line: 309, column: 67, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 309, column: 68, }, end: Position { line: 309, column: 78, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "useProfiles", span: Span { start: Position { line: 309, column: 79, }, end: Position { line: 309, column: 90, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 310, column: 7, }, end: Position { line: 310, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 310, column: 19, }, end: Position { line: 310, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bin", span: Span { start: Position { line: 310, column: 30, }, end: Position { line: 310, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/nvidia/nvidia-application-profiles-rc", span: Span { start: Position { line: 310, column: 17, }, end: Position { line: 310, column: 78, }, }, }, ), ], span: Span { start: Position { line: 310, column: 16, }, end: Position { line: 310, column: 79, }, }, }, ), }, ), ], span: Span { start: Position { line: 309, column: 91, }, end: Position { line: 311, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 314, column: 5, }, end: Position { line: 314, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 314, column: 17, }, end: Position { line: 314, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "egl/egl_external_platform.d", span: Span { start: Position { line: 314, column: 22, }, end: Position { line: 314, column: 49, }, }, }, ), ], span: Span { start: Position { line: 314, column: 21, }, end: Position { line: 314, column: 50, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 314, column: 51, }, end: Position { line: 314, column: 57, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/opengl-driver/share/egl/egl_external_platform.d/", span: Span { start: Position { line: 315, column: 8, }, end: Position { line: 315, column: 61, }, }, }, ), ], span: Span { start: Position { line: 315, column: 7, }, end: Position { line: 315, column: 62, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 317, column: 5, }, end: Position { line: 317, column: 13, }, }, }, ), Raw( PartRaw { content: "opengl", span: Span { start: Position { line: 317, column: 14, }, end: Position { line: 317, column: 20, }, }, }, ), Raw( PartRaw { content: "extraPackages", span: Span { start: Position { line: 317, column: 21, }, end: Position { line: 317, column: 34, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 318, column: 7, }, end: Position { line: 318, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "out", span: Span { start: Position { line: 318, column: 18, }, end: Position { line: 318, column: 21, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 319, column: 7, }, end: Position { line: 319, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nvidia-vaapi-driver", span: Span { start: Position { line: 319, column: 12, }, end: Position { line: 319, column: 31, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 317, column: 37, }, end: Position { line: 320, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 321, column: 5, }, end: Position { line: 321, column: 13, }, }, }, ), Raw( PartRaw { content: "opengl", span: Span { start: Position { line: 321, column: 14, }, end: Position { line: 321, column: 20, }, }, }, ), Raw( PartRaw { content: "extraPackages32", span: Span { start: Position { line: 321, column: 21, }, end: Position { line: 321, column: 36, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 322, column: 7, }, end: Position { line: 322, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lib32", span: Span { start: Position { line: 322, column: 18, }, end: Position { line: 322, column: 23, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 323, column: 7, }, end: Position { line: 323, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pkgsi686Linux", span: Span { start: Position { line: 323, column: 12, }, end: Position { line: 323, column: 25, }, }, }, ), Raw( PartRaw { content: "nvidia-vaapi-driver", span: Span { start: Position { line: 323, column: 26, }, end: Position { line: 323, column: 45, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 321, column: 39, }, end: Position { line: 324, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 326, column: 5, }, end: Position { line: 326, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 326, column: 17, }, end: Position { line: 326, column: 31, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 326, column: 36, }, end: Position { line: 326, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bin", span: Span { start: Position { line: 326, column: 47, }, end: Position { line: 326, column: 50, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 326, column: 34, }, end: Position { line: 326, column: 52, }, }, }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionals", span: Span { start: Position { line: 327, column: 10, }, end: Position { line: 327, column: 19, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 327, column: 20, }, end: Position { line: 327, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nvidiaSettings", span: Span { start: Position { line: 327, column: 24, }, end: Position { line: 327, column: 38, }, }, }, ), ], default: None, }, ), List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 327, column: 41, }, end: Position { line: 327, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 327, column: 52, }, end: Position { line: 327, column: 60, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 327, column: 39, }, end: Position { line: 327, column: 62, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionals", span: Span { start: Position { line: 328, column: 10, }, end: Position { line: 328, column: 19, }, }, }, ), arguments: [ Identifier( Identifier { id: "nvidiaPersistencedEnabled", span: Span { start: Position { line: 328, column: 20, }, end: Position { line: 328, column: 45, }, }, }, ), List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 328, column: 48, }, end: Position { line: 328, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "persistenced", span: Span { start: Position { line: 328, column: 59, }, end: Position { line: 328, column: 71, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 328, column: 46, }, end: Position { line: 328, column: 73, }, }, }, ), ], }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 330, column: 5, }, end: Position { line: 330, column: 12, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 330, column: 13, }, end: Position { line: 330, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 330, column: 24, }, end: Position { line: 330, column: 32, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 330, column: 33, }, end: Position { line: 330, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 330, column: 37, }, end: Position { line: 330, column: 52, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 330, column: 53, }, end: Position { line: 330, column: 59, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 330, column: 60, }, end: Position { line: 330, column: 70, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "out", span: Span { start: Position { line: 330, column: 71, }, end: Position { line: 330, column: 74, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 332, column: 5, }, end: Position { line: 332, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 332, column: 13, }, end: Position { line: 332, column: 21, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "baseNvidiaService", span: Span { start: Position { line: 333, column: 7, }, end: Position { line: 333, column: 24, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "state", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 334, column: 9, }, end: Position { line: 334, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "NVIDIA system ", span: Span { start: Position { line: 334, column: 24, }, end: Position { line: 334, column: 46, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "state", span: Span { start: Position { line: 334, column: 40, }, end: Position { line: 334, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: " actions", span: Span { start: Position { line: 334, column: 24, }, end: Position { line: 334, column: 54, }, }, }, ), ], span: Span { start: Position { line: 334, column: 23, }, end: Position { line: 334, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 336, column: 9, }, end: Position { line: 336, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 336, column: 21, }, end: Position { line: 336, column: 25, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "kbd", span: Span { start: Position { line: 336, column: 29, }, end: Position { line: 336, column: 32, }, }, }, ), ], span: Span { start: Position { line: 336, column: 27, }, end: Position { line: 336, column: 34, }, }, }, ), span: Span { start: Position { line: 336, column: 16, }, end: Position { line: 336, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 337, column: 9, }, end: Position { line: 337, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ 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: "oneshot", 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: "ExecStart", span: Span { start: Position { line: 339, column: 11, }, end: Position { line: 339, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 339, column: 26, }, end: Position { line: 339, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "out", span: Span { start: Position { line: 339, column: 37, }, end: Position { line: 339, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/nvidia-sleep.sh '", span: Span { start: Position { line: 339, column: 24, }, end: Position { line: 339, column: 63, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "state", span: Span { start: Position { line: 339, column: 65, }, end: Position { line: 339, column: 70, }, }, }, ), }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 339, column: 24, }, end: Position { line: 339, column: 72, }, }, }, ), ], span: Span { start: Position { line: 339, column: 23, }, end: Position { line: 339, column: 73, }, }, }, ), }, ), ], span: Span { start: Position { line: 337, column: 25, }, end: Position { line: 340, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 333, column: 34, }, end: Position { line: 341, column: 8, }, }, }, ), span: Span { start: Position { line: 333, column: 27, }, end: Position { line: 341, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nvidiaService", span: Span { start: Position { line: 343, column: 7, }, end: Position { line: 343, column: 20, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "sleepState", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "baseNvidiaService", span: Span { start: Position { line: 343, column: 36, }, end: Position { line: 343, column: 53, }, }, }, ), arguments: [ Identifier( Identifier { id: "sleepState", span: Span { start: Position { line: 343, column: 54, }, end: Position { line: 343, column: 64, }, }, }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "before", span: Span { start: Position { line: 344, column: 9, }, end: Position { line: 344, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "systemd-", span: Span { start: Position { line: 344, column: 21, }, end: Position { line: 344, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "sleepState", span: Span { start: Position { line: 344, column: 31, }, end: Position { line: 344, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: ".service", span: Span { start: Position { line: 344, column: 21, }, end: Position { line: 344, column: 50, }, }, }, ), ], span: Span { start: Position { line: 344, column: 20, }, end: Position { line: 344, column: 51, }, }, }, ), ], span: Span { start: Position { line: 344, column: 18, }, end: Position { line: 344, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requiredBy", span: Span { start: Position { line: 345, column: 9, }, end: Position { line: 345, column: 19, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "systemd-", span: Span { start: Position { line: 345, column: 25, }, end: Position { line: 345, column: 46, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "sleepState", span: Span { start: Position { line: 345, column: 35, }, end: Position { line: 345, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: ".service", span: Span { start: Position { line: 345, column: 25, }, end: Position { line: 345, column: 54, }, }, }, ), ], span: Span { start: Position { line: 345, column: 24, }, end: Position { line: 345, column: 55, }, }, }, ), ], span: Span { start: Position { line: 345, column: 22, }, end: Position { line: 345, column: 57, }, }, }, ), }, ), ], span: Span { start: Position { line: 343, column: 69, }, end: Position { line: 346, column: 8, }, }, }, ), }, ), span: Span { start: Position { line: 343, column: 23, }, end: Position { line: 346, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 348, column: 7, }, end: Position { line: 348, column: 15, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 348, column: 19, }, end: Position { line: 348, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listToAttrs", span: Span { start: Position { line: 348, column: 28, }, end: Position { line: 348, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 348, column: 41, }, end: Position { line: 348, column: 44, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "t", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 348, column: 49, }, end: Position { line: 348, column: 62, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "nvidia-", span: Span { start: Position { line: 348, column: 64, }, end: Position { line: 348, column: 75, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "t", span: Span { start: Position { line: 348, column: 73, }, end: Position { line: 348, column: 74, }, }, }, ), }, ), ], span: Span { start: Position { line: 348, column: 63, }, end: Position { line: 348, column: 76, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nvidiaService", span: Span { start: Position { line: 348, column: 78, }, end: Position { line: 348, column: 91, }, }, }, ), arguments: [ Identifier( Identifier { id: "t", span: Span { start: Position { line: 348, column: 92, }, end: Position { line: 348, column: 93, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 348, column: 46, }, end: Position { line: 348, column: 94, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hibernate", span: Span { start: Position { line: 348, column: 98, }, end: Position { line: 348, column: 107, }, }, }, ), ], span: Span { start: Position { line: 348, column: 97, }, end: Position { line: 348, column: 108, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "suspend", span: Span { start: Position { line: 348, column: 110, }, end: Position { line: 348, column: 117, }, }, }, ), ], span: Span { start: Position { line: 348, column: 109, }, end: Position { line: 348, column: 118, }, }, }, ), ], span: Span { start: Position { line: 348, column: 96, }, end: Position { line: 348, column: 119, }, }, }, ), ], }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nvidia-resume", span: Span { start: Position { line: 350, column: 11, }, end: Position { line: 350, column: 24, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "baseNvidiaService", span: Span { start: Position { line: 350, column: 28, }, end: Position { line: 350, column: 45, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "resume", span: Span { start: Position { line: 350, column: 47, }, end: Position { line: 350, column: 53, }, }, }, ), ], span: Span { start: Position { line: 350, column: 46, }, end: Position { line: 350, column: 54, }, }, }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 351, column: 13, }, end: Position { line: 351, column: 18, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "systemd-suspend.service", span: Span { start: Position { line: 351, column: 24, }, end: Position { line: 351, column: 47, }, }, }, ), ], span: Span { start: Position { line: 351, column: 23, }, end: Position { line: 351, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "systemd-hibernate.service", span: Span { start: Position { line: 351, column: 50, }, end: Position { line: 351, column: 75, }, }, }, ), ], span: Span { start: Position { line: 351, column: 49, }, end: Position { line: 351, column: 76, }, }, }, ), ], span: Span { start: Position { line: 351, column: 21, }, end: Position { line: 351, column: 78, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requiredBy", span: Span { start: Position { line: 352, column: 13, }, end: Position { line: 352, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "systemd-suspend.service", span: Span { start: Position { line: 352, column: 29, }, end: Position { line: 352, column: 52, }, }, }, ), ], span: Span { start: Position { line: 352, column: 28, }, end: Position { line: 352, column: 53, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "systemd-hibernate.service", span: Span { start: Position { line: 352, column: 55, }, end: Position { line: 352, column: 80, }, }, }, ), ], span: Span { start: Position { line: 352, column: 54, }, end: Position { line: 352, column: 81, }, }, }, ), ], span: Span { start: Position { line: 352, column: 26, }, end: Position { line: 352, column: 83, }, }, }, ), }, ), ], span: Span { start: Position { line: 350, column: 59, }, end: Position { line: 353, column: 12, }, }, }, ), }, ), }, ), ], span: Span { start: Position { line: 349, column: 12, }, end: Position { line: 354, column: 10, }, }, }, ), }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 355, column: 8, }, end: Position { line: 355, column: 21, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 355, column: 22, }, end: Position { line: 355, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 355, column: 26, }, end: Position { line: 355, column: 41, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 355, column: 42, }, end: Position { line: 355, column: 48, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "services", span: Span { start: Position { line: 355, column: 49, }, end: Position { line: 355, column: 57, }, }, }, ), ], }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 356, column: 10, }, end: Position { line: 356, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "nvidiaPersistencedEnabled", span: Span { start: Position { line: 356, column: 24, }, end: Position { line: 356, column: 49, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "nvidia-persistenced", span: Span { start: Position { line: 357, column: 10, }, end: Position { line: 357, column: 29, }, }, }, ), ], span: Span { start: Position { line: 357, column: 9, }, end: Position { line: 357, column: 30, }, }, }, ), }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 357, column: 33, }, end: Position { line: 357, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "nvidiaPersistencedEnabled", span: Span { start: Position { line: 357, column: 38, }, end: Position { line: 357, column: 63, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 358, column: 11, }, end: Position { line: 358, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "NVIDIA Persistence Daemon", span: Span { start: Position { line: 358, column: 26, }, end: Position { line: 358, column: 51, }, }, }, ), ], span: Span { start: Position { line: 358, column: 25, }, end: Position { line: 358, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 359, column: 11, }, end: Position { line: 359, column: 19, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 359, column: 25, }, end: Position { line: 359, column: 42, }, }, }, ), ], span: Span { start: Position { line: 359, column: 24, }, end: Position { line: 359, column: 43, }, }, }, ), ], span: Span { start: Position { line: 359, column: 22, }, end: Position { line: 359, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 360, column: 11, }, end: Position { line: 360, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 361, column: 13, }, end: Position { line: 361, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "forking", span: Span { start: Position { line: 361, column: 21, }, end: Position { line: 361, column: 28, }, }, }, ), ], span: Span { start: Position { line: 361, column: 20, }, end: Position { line: 361, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 362, column: 13, }, end: Position { line: 362, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 362, column: 24, }, end: Position { line: 362, column: 30, }, }, }, ), ], span: Span { start: Position { line: 362, column: 23, }, end: Position { line: 362, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PIDFile", span: Span { start: Position { line: 363, column: 13, }, end: Position { line: 363, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/run/nvidia-persistenced/nvidia-persistenced.pid", span: Span { start: Position { line: 363, column: 24, }, end: Position { line: 363, column: 76, }, }, }, ), ], span: Span { start: Position { line: 363, column: 23, }, end: Position { line: 363, column: 77, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 364, column: 13, }, end: Position { line: 364, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 364, column: 28, }, end: Position { line: 364, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "persistenced", span: Span { start: Position { line: 364, column: 39, }, end: Position { line: 364, column: 51, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/nvidia-persistenced --verbose", span: Span { start: Position { line: 364, column: 26, }, end: Position { line: 364, column: 86, }, }, }, ), ], span: Span { start: Position { line: 364, column: 25, }, end: Position { line: 364, column: 87, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStopPost", span: Span { start: Position { line: 365, column: 13, }, end: Position { line: 365, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 365, column: 31, }, end: Position { line: 365, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 365, column: 36, }, end: Position { line: 365, column: 45, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/rm -rf /var/run/nvidia-persistenced", span: Span { start: Position { line: 365, column: 29, }, end: Position { line: 365, column: 86, }, }, }, ), ], span: Span { start: Position { line: 365, column: 28, }, end: Position { line: 365, column: 87, }, }, }, ), }, ), ], span: Span { start: Position { line: 360, column: 27, }, end: Position { line: 366, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 357, column: 64, }, end: Position { line: 367, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 356, column: 50, }, end: Position { line: 368, column: 8, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 332, column: 24, }, end: Position { line: 368, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 370, column: 5, }, end: Position { line: 370, column: 12, }, }, }, ), Raw( PartRaw { content: "tmpfiles", span: Span { start: Position { line: 370, column: 13, }, end: Position { line: 370, column: 21, }, }, }, ), Raw( PartRaw { content: "rules", span: Span { start: Position { line: 370, column: 22, }, end: Position { line: 370, column: 27, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 370, column: 30, }, end: Position { line: 370, column: 38, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 370, column: 39, }, end: Position { line: 370, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 370, column: 46, }, end: Position { line: 370, column: 60, }, }, }, ), Raw( PartRaw { content: "docker", span: Span { start: Position { line: 370, column: 61, }, end: Position { line: 370, column: 67, }, }, }, ), Raw( PartRaw { content: "enableNvidia", span: Span { start: Position { line: 370, column: 68, }, end: Position { line: 370, column: 80, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "L+ /run/nvidia-docker/bin - - - - ", span: Span { start: Position { line: 371, column: 10, }, end: Position { line: 371, column: 61, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 371, column: 46, }, end: Position { line: 371, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bin", span: Span { start: Position { line: 371, column: 57, }, end: Position { line: 371, column: 60, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/origBin", span: Span { start: Position { line: 371, column: 10, }, end: Position { line: 371, column: 69, }, }, }, ), ], span: Span { start: Position { line: 371, column: 9, }, end: Position { line: 371, column: 70, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 372, column: 10, }, end: Position { line: 372, column: 18, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 372, column: 20, }, end: Position { line: 372, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "persistenced", span: Span { start: Position { line: 372, column: 31, }, end: Position { line: 372, column: 43, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 372, column: 47, }, end: Position { line: 372, column: 51, }, }, }, ), }, ), operator: LogicalAnd, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 372, column: 55, }, end: Position { line: 372, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 372, column: 62, }, end: Position { line: 372, column: 76, }, }, }, ), Raw( PartRaw { content: "docker", span: Span { start: Position { line: 372, column: 77, }, end: Position { line: 372, column: 83, }, }, }, ), Raw( PartRaw { content: "enableNvidia", span: Span { start: Position { line: 372, column: 84, }, end: Position { line: 372, column: 96, }, }, }, ), ], default: None, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "L+ /run/nvidia-docker/extras/bin/nvidia-persistenced - - - - ", span: Span { start: Position { line: 373, column: 10, }, end: Position { line: 373, column: 97, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 373, column: 73, }, end: Position { line: 373, column: 83, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "persistenced", span: Span { start: Position { line: 373, column: 84, }, end: Position { line: 373, column: 96, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/origBin/nvidia-persistenced", span: Span { start: Position { line: 373, column: 10, }, end: Position { line: 373, column: 125, }, }, }, ), ], span: Span { start: Position { line: 373, column: 9, }, end: Position { line: 373, column: 126, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 375, column: 5, }, end: Position { line: 375, column: 9, }, }, }, ), Raw( PartRaw { content: "extraModulePackages", span: Span { start: Position { line: 375, column: 10, }, end: Position { line: 375, column: 29, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 375, column: 35, }, end: Position { line: 375, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "open", span: Span { start: Position { line: 375, column: 39, }, end: Position { line: 375, column: 43, }, }, }, ), ], default: None, }, ), then: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 375, column: 51, }, end: Position { line: 375, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "open", span: Span { start: Position { line: 375, column: 62, }, end: Position { line: 375, column: 66, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 375, column: 49, }, end: Position { line: 375, column: 68, }, }, }, ), else_: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 375, column: 76, }, end: Position { line: 375, column: 86, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bin", span: Span { start: Position { line: 375, column: 87, }, end: Position { line: 375, column: 90, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 375, column: 74, }, end: Position { line: 375, column: 92, }, }, }, ), span: Span { start: Position { line: 375, column: 32, }, end: Position { line: 375, column: 92, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 376, column: 5, }, end: Position { line: 376, column: 13, }, }, }, ), Raw( PartRaw { content: "firmware", span: Span { start: Position { line: 376, column: 14, }, end: Position { line: 376, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 376, column: 25, }, end: Position { line: 376, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optional", span: Span { start: Position { line: 376, column: 29, }, end: Position { line: 376, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 376, column: 38, }, end: Position { line: 376, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "open", span: Span { start: Position { line: 376, column: 42, }, end: Position { line: 376, column: 46, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nvidia_x11", span: Span { start: Position { line: 376, column: 47, }, end: Position { line: 376, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "firmware", span: Span { start: Position { line: 376, column: 58, }, end: Position { line: 376, column: 66, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 379, column: 5, }, end: Position { line: 379, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 379, column: 10, }, end: Position { line: 379, column: 23, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "nvidia-uvm", span: Span { start: Position { line: 379, column: 29, }, end: Position { line: 379, column: 39, }, }, }, ), ], span: Span { start: Position { line: 379, column: 28, }, end: Position { line: 379, column: 40, }, }, }, ), ], span: Span { start: Position { line: 379, column: 26, }, end: Position { line: 379, column: 42, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionals", span: Span { start: Position { line: 380, column: 7, }, end: Position { line: 380, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 380, column: 17, }, end: Position { line: 380, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 380, column: 24, }, end: Position { line: 380, column: 32, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 380, column: 33, }, end: Position { line: 380, column: 40, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 380, column: 41, }, end: Position { line: 380, column: 47, }, }, }, ), ], default: None, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "nvidia", span: Span { start: Position { line: 380, column: 51, }, end: Position { line: 380, column: 57, }, }, }, ), ], span: Span { start: Position { line: 380, column: 50, }, end: Position { line: 380, column: 58, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia_modeset", span: Span { start: Position { line: 380, column: 60, }, end: Position { line: 380, column: 74, }, }, }, ), ], span: Span { start: Position { line: 380, column: 59, }, end: Position { line: 380, column: 75, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia_drm", span: Span { start: Position { line: 380, column: 77, }, end: Position { line: 380, column: 87, }, }, }, ), ], span: Span { start: Position { line: 380, column: 76, }, end: Position { line: 380, column: 88, }, }, }, ), ], span: Span { start: Position { line: 380, column: 48, }, end: Position { line: 380, column: 90, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 383, column: 5, }, end: Position { line: 383, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelParams", span: Span { start: Position { line: 383, column: 10, }, end: Position { line: 383, column: 22, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 383, column: 25, }, end: Position { line: 383, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "offloadCfg", span: Span { start: Position { line: 383, column: 35, }, end: Position { line: 383, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 383, column: 46, }, end: Position { line: 383, column: 52, }, }, }, ), ], default: None, }, ), operator: LogicalOr, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 383, column: 56, }, end: Position { line: 383, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "modesetting", span: Span { start: Position { line: 383, column: 60, }, end: Position { line: 383, column: 71, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 383, column: 72, }, end: Position { line: 383, column: 78, }, }, }, ), ], default: None, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia-drm.modeset=1", span: Span { start: Position { line: 383, column: 81, }, end: Position { line: 383, column: 101, }, }, }, ), ], span: Span { start: Position { line: 383, column: 80, }, end: Position { line: 383, column: 102, }, }, }, ), ], }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 384, column: 10, }, end: Position { line: 384, column: 18, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 384, column: 19, }, end: Position { line: 384, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 384, column: 23, }, end: Position { line: 384, column: 38, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 384, column: 39, }, end: Position { line: 384, column: 45, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia.NVreg_PreserveVideoMemoryAllocations=1", span: Span { start: Position { line: 384, column: 47, }, end: Position { line: 384, column: 92, }, }, }, ), ], span: Span { start: Position { line: 384, column: 46, }, end: Position { line: 384, column: 93, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 385, column: 10, }, end: Position { line: 385, column: 18, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 385, column: 19, }, end: Position { line: 385, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "open", span: Span { start: Position { line: 385, column: 23, }, end: Position { line: 385, column: 27, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidia.NVreg_OpenRmEnableUnsupportedGpus=1", span: Span { start: Position { line: 385, column: 29, }, end: Position { line: 385, column: 71, }, }, }, ), ], span: Span { start: Position { line: 385, column: 28, }, end: Position { line: 385, column: 72, }, }, }, ), ], }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 387, column: 5, }, end: Position { line: 387, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 387, column: 14, }, end: Position { line: 387, column: 18, }, }, }, ), Raw( PartRaw { content: "extraRules", span: Span { start: Position { line: 387, column: 19, }, end: Position { line: 387, column: 29, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Create /dev/nvidia-uvm when the nvidia-uvm module is loaded.\nKERNEL==\"nvidia\", RUN+=\"", span: Span { start: Position { line: 389, column: 1, }, end: Position { line: 390, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 390, column: 35, }, end: Position { line: 390, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runtimeShell", span: Span { start: Position { line: 390, column: 40, }, end: Position { line: 390, column: 52, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -c 'mknod -m 666 /dev/nvidiactl c $$(grep nvidia-frontend /proc/devices | cut -d \\ -f 1) 255'\"\nKERNEL==\"nvidia\", RUN+=\"", span: Span { start: Position { line: 389, column: 1, }, end: Position { line: 391, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 391, column: 35, }, end: Position { line: 391, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runtimeShell", span: Span { start: Position { line: 391, column: 40, }, end: Position { line: 391, column: 52, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -c 'for i in $$(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \\ -f 4); do mknod -m 666 /dev/nvidia$${i} c $$(grep nvidia-frontend /proc/devices | cut -d \\ -f 1) $${i}; done'\"\nKERNEL==\"nvidia_modeset\", RUN+=\"", span: Span { start: Position { line: 389, column: 1, }, end: Position { line: 392, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 392, column: 43, }, end: Position { line: 392, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runtimeShell", span: Span { start: Position { line: 392, column: 48, }, end: Position { line: 392, column: 60, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -c 'mknod -m 666 /dev/nvidia-modeset c $$(grep nvidia-frontend /proc/devices | cut -d \\ -f 1) 254'\"\nKERNEL==\"nvidia_uvm\", RUN+=\"", span: Span { start: Position { line: 389, column: 1, }, end: Position { line: 393, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 393, column: 39, }, end: Position { line: 393, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runtimeShell", span: Span { start: Position { line: 393, column: 44, }, end: Position { line: 393, column: 56, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -c 'mknod -m 666 /dev/nvidia-uvm c $$(grep nvidia-uvm /proc/devices | cut -d \\ -f 1) 0'\"\nKERNEL==\"nvidia_uvm\", RUN+=\"", span: Span { start: Position { line: 389, column: 1, }, end: Position { line: 394, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 394, column: 39, }, end: Position { line: 394, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runtimeShell", span: Span { start: Position { line: 394, column: 44, }, end: Position { line: 394, column: 56, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \\ -f 1) 1'\"\n", span: Span { start: Position { line: 389, column: 1, }, end: Position { line: 395, column: 7, }, }, }, ), ], span: Span { start: Position { line: 388, column: 7, }, end: Position { line: 395, column: 9, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 395, column: 12, }, end: Position { line: 395, column: 26, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 395, column: 27, }, end: Position { line: 395, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 395, column: 31, }, end: Position { line: 395, column: 46, }, }, }, ), Raw( PartRaw { content: "finegrained", span: Span { start: Position { line: 395, column: 47, }, end: Position { line: 395, column: 58, }, }, }, ), ], default: None, }, ), BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 396, column: 7, }, end: Position { line: 396, column: 21, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionOlder", span: Span { start: Position { line: 396, column: 23, }, end: Position { line: 396, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 396, column: 36, }, end: Position { line: 396, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 396, column: 43, }, end: Position { line: 396, column: 47, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 396, column: 48, }, end: Position { line: 396, column: 62, }, }, }, ), Raw( PartRaw { content: "kernel", span: Span { start: Position { line: 396, column: 63, }, end: Position { line: 396, column: 69, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 396, column: 70, }, end: Position { line: 396, column: 77, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "5.5", span: Span { start: Position { line: 396, column: 79, }, end: Position { line: 396, column: 82, }, }, }, ), ], span: Span { start: Position { line: 396, column: 78, }, end: Position { line: 396, column: 83, }, }, }, ), ], }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Remove NVIDIA USB xHCI Host Controller devices, if present\nACTION==\"add\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\"0x0c0330\", ATTR{remove}=\"1\"\n\n# Remove NVIDIA USB Type-C UCSI devices, if present\nACTION==\"add\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\"0x0c8000\", ATTR{remove}=\"1\"\n\n# Remove NVIDIA Audio devices, if present\nACTION==\"add\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\"0x040300\", ATTR{remove}=\"1\"\n", span: Span { start: Position { line: 397, column: 1, }, end: Position { line: 405, column: 7, }, }, }, ), ], span: Span { start: Position { line: 396, column: 85, }, end: Position { line: 405, column: 9, }, }, }, ), ], }, ), operator: Addition, right: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind\nACTION==\"bind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\"0x030000\", TEST==\"power/control\", ATTR{power/control}=\"auto\"\nACTION==\"bind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\"0x030200\", TEST==\"power/control\", ATTR{power/control}=\"auto\"\n\n# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind\nACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\"0x030000\", TEST==\"power/control\", ATTR{power/control}=\"on\"\nACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\"0x030200\", TEST==\"power/control\", ATTR{power/control}=\"on\"\n", span: Span { start: Position { line: 406, column: 1, }, end: Position { line: 413, column: 7, }, }, }, ), ], span: Span { start: Position { line: 405, column: 12, }, end: Position { line: 413, column: 9, }, }, }, ), }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 415, column: 5, }, end: Position { line: 415, column: 9, }, }, }, ), Raw( PartRaw { content: "extraModprobeConfig", span: Span { start: Position { line: 415, column: 10, }, end: Position { line: 415, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 415, column: 32, }, end: Position { line: 415, column: 36, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 415, column: 37, }, end: Position { line: 415, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 415, column: 41, }, end: Position { line: 415, column: 56, }, }, }, ), Raw( PartRaw { content: "finegrained", span: Span { start: Position { line: 415, column: 57, }, end: Position { line: 415, column: 68, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "options nvidia \"NVreg_DynamicPowerManagement=0x02\"\n", span: Span { start: Position { line: 416, column: 1, }, end: Position { line: 417, column: 5, }, }, }, ), ], span: Span { start: Position { line: 415, column: 69, }, end: Position { line: 417, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 419, column: 5, }, end: Position { line: 419, column: 9, }, }, }, ), Raw( PartRaw { content: "blacklistedKernelModules", span: Span { start: Position { line: 419, column: 10, }, end: Position { line: 419, column: 34, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "nouveau", span: Span { start: Position { line: 419, column: 40, }, end: Position { line: 419, column: 47, }, }, }, ), ], span: Span { start: Position { line: 419, column: 39, }, end: Position { line: 419, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvidiafb", span: Span { start: Position { line: 419, column: 50, }, end: Position { line: 419, column: 58, }, }, }, ), ], span: Span { start: Position { line: 419, column: 49, }, end: Position { line: 419, column: 59, }, }, }, ), ], span: Span { start: Position { line: 419, column: 37, }, end: Position { line: 419, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 421, column: 5, }, end: Position { line: 421, column: 13, }, }, }, ), Raw( PartRaw { content: "acpid", span: Span { start: Position { line: 421, column: 14, }, end: Position { line: 421, column: 19, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 421, column: 20, }, end: Position { line: 421, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 421, column: 29, }, end: Position { line: 421, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 199, column: 19, }, end: Position { line: 423, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 196, column: 12, }, end: Position { line: 423, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 1, }, end: Position { line: 425, column: 2, }, }, }, ), span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 425, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 425, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 425, column: 2, }, }, }, )