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: 2, column: 6, }, end: Position { line: 2, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 24, }, }, }, ), Raw( PartRaw { content: "tlp", span: Span { start: Position { line: 4, column: 25, }, end: Position { line: 4, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableRDW", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 5, column: 15, }, end: Position { line: 5, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 5, column: 22, }, end: Position { line: 5, column: 32, }, }, }, ), Raw( PartRaw { content: "networkmanager", span: Span { start: Position { line: 5, column: 33, }, end: Position { line: 5, column: 47, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 5, column: 48, }, end: Position { line: 5, column: 54, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tlp", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "tlp", span: Span { start: Position { line: 6, column: 14, }, end: Position { line: 6, column: 17, }, }, }, ), Raw( PartRaw { content: "override", span: Span { start: Position { line: 6, column: 18, }, end: Position { line: 6, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "enableRDW", span: Span { start: Position { line: 6, column: 37, }, end: Position { line: 6, column: 46, }, }, }, ), ], span: Span { start: Position { line: 6, column: 28, }, end: Position { line: 6, column: 47, }, }, }, ), ], span: Span { start: Position { line: 6, column: 27, }, end: Position { line: 6, column: 49, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkTlpConfig", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "tlpConfig", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "generators", span: Span { start: Position { line: 8, column: 28, }, end: Position { line: 8, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toKeyValue", span: Span { start: Position { line: 8, column: 39, }, end: Position { line: 8, column: 49, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkKeyValue", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "generators", span: Span { start: Position { line: 9, column: 18, }, end: Position { line: 9, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkKeyValueDefault", span: Span { start: Position { line: 9, column: 29, }, end: Position { line: 9, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkValueString", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 20, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "val", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 11, column: 12, }, end: Position { line: 11, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "val", span: Span { start: Position { line: 11, column: 19, }, end: Position { line: 11, column: 22, }, }, }, ), ], }, ), then: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 11, column: 29, }, end: Position { line: 11, column: 31, }, }, }, ), ], span: Span { start: Position { line: 11, column: 28, }, end: Position { line: 11, column: 32, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 11, column: 36, }, end: Position { line: 11, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "val", span: Span { start: Position { line: 11, column: 45, }, end: Position { line: 11, column: 48, }, }, }, ), ], }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 11, column: 53, }, end: Position { line: 11, column: 55, }, }, }, ), ], span: Span { start: Position { line: 11, column: 52, }, end: Position { line: 11, column: 56, }, }, }, ), }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 22, }, }, }, ), arguments: [ Identifier( Identifier { id: "val", span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 12, column: 26, }, }, }, ), ], }, ), span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 12, column: 26, }, }, }, ), span: Span { start: Position { line: 10, column: 23, }, end: Position { line: 12, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 47, }, end: Position { line: 13, column: 6, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "=", span: Span { start: Position { line: 13, column: 8, }, end: Position { line: 13, column: 9, }, }, }, ), ], span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 50, }, end: Position { line: 14, column: 4, }, }, }, ), Identifier( Identifier { id: "tlpConfig", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 14, }, }, }, ), ], }, ), span: Span { start: Position { line: 8, column: 17, }, end: Position { line: 14, column: 14, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 13, }, }, }, ), Raw( PartRaw { content: "tlp", span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 19, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 20, column: 16, }, end: Position { line: 20, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 21, column: 22, }, end: Position { line: 21, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 22, column: 19, }, end: Position { line: 22, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 23, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to enable the TLP power management daemon.", span: Span { start: Position { line: 23, column: 34, }, end: Position { line: 23, column: 84, }, }, }, ), ], span: Span { start: Position { line: 23, column: 33, }, end: Position { line: 23, column: 85, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 24, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 26, column: 18, }, end: Position { line: 26, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 28, }, end: Position { line: 26, column: 32, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 40, }, end: Position { line: 26, column: 45, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 26, column: 47, }, end: Position { line: 26, column: 54, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "oneOf", span: Span { start: Position { line: 26, column: 56, }, end: Position { line: 26, column: 61, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "bool", span: Span { start: Position { line: 26, column: 63, }, end: Position { line: 26, column: 67, }, }, }, ), Identifier( Identifier { id: "int", span: Span { start: Position { line: 26, column: 68, }, end: Position { line: 26, column: 71, }, }, }, ), Identifier( Identifier { id: "float", span: Span { start: Position { line: 26, column: 72, }, end: Position { line: 26, column: 77, }, }, }, ), Identifier( Identifier { id: "str", span: Span { start: Position { line: 26, column: 78, }, end: Position { line: 26, column: 81, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 26, column: 83, }, end: Position { line: 26, column: 89, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 26, column: 90, }, end: Position { line: 26, column: 93, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 26, column: 62, }, end: Position { line: 26, column: 95, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 26, column: 35, }, end: Position { line: 26, column: 96, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 27, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SATA_LINKPWR_ON_BAT", span: Span { start: Position { line: 29, column: 11, }, end: Position { line: 29, column: 30, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "med_power_with_dipm", span: Span { start: Position { line: 29, column: 34, }, end: Position { line: 29, column: 53, }, }, }, ), ], span: Span { start: Position { line: 29, column: 33, }, end: Position { line: 29, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "USB_BLACKLIST_PHONE", span: Span { start: Position { line: 30, column: 11, }, end: Position { line: 30, column: 30, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 30, column: 33, }, end: Position { line: 30, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 28, column: 19, }, end: Position { line: 31, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 32, column: 23, }, end: Position { line: 32, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 32, column: 27, }, end: Position { line: 32, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Options passed to TLP. See https://linrunner.de/tlp for all supported options..\n", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 34, column: 9, }, }, }, ), ], span: Span { start: Position { line: 32, column: 33, }, end: Position { line: 34, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 26, column: 27, }, end: Position { line: 35, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 37, column: 21, }, end: Position { line: 37, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 38, column: 16, }, end: Position { line: 38, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 38, column: 22, }, end: Position { line: 38, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 39, column: 19, }, end: Position { line: 39, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 40, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 40, column: 27, }, end: Position { line: 40, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Verbatim additional configuration variables for TLP.\nDEPRECATED: use services.tlp.settings instead.\n", span: Span { start: Position { line: 41, column: 1, }, end: Position { line: 43, column: 9, }, }, }, ), ], span: Span { start: Position { line: 40, column: 33, }, end: Position { line: 43, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 30, }, end: Position { line: 44, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 20, }, end: Position { line: 45, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 18, column: 13, }, end: Position { line: 46, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 49, column: 3, }, end: Position { line: 49, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 49, column: 12, }, end: Position { line: 49, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 49, column: 17, }, end: Position { line: 49, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 49, column: 21, }, end: Position { line: 49, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 50, column: 10, }, end: Position { line: 50, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "msr", span: Span { start: Position { line: 50, column: 29, }, end: Position { line: 50, column: 32, }, }, }, ), ], span: Span { start: Position { line: 50, column: 28, }, end: Position { line: 50, column: 33, }, }, }, ), ], span: Span { start: Position { line: 50, column: 26, }, end: Position { line: 50, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warnings", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 24, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 52, column: 26, }, end: Position { line: 52, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 52, column: 30, }, end: Position { line: 52, column: 41, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 52, column: 45, }, end: Position { line: 52, column: 47, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Using config.services.tlp.extraConfig is deprecated and will become unsupported in a future release. Use config.services.tlp.settings instead.\n", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 54, column: 5, }, }, }, ), ], span: Span { start: Position { line: 52, column: 49, }, end: Position { line: 54, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 56, column: 5, }, end: Position { line: 56, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 57, column: 19, }, end: Position { line: 57, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 57, column: 23, }, end: Position { line: 57, column: 29, }, }, }, ), ], default: None, }, ), operator: Implication, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 57, column: 33, }, end: Position { line: 57, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 57, column: 40, }, end: Position { line: 57, column: 55, }, }, }, ), Raw( PartRaw { content: "scsiLinkPolicy", span: Span { start: Position { line: 57, column: 56, }, end: Position { line: 57, column: 70, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 57, column: 74, }, end: Position { line: 57, column: 78, }, }, }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 58, column: 7, }, end: Position { line: 58, column: 14, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "`services.tlp.enable` and `config.powerManagement.scsiLinkPolicy` cannot be set both.\nSet `services.tlp.settings.SATA_LINKPWR_ON_AC` and `services.tlp.settings.SATA_LINKPWR_ON_BAT` instead.\n", span: Span { start: Position { line: 59, column: 1, }, end: Position { line: 61, column: 7, }, }, }, ), ], span: Span { start: Position { line: 58, column: 17, }, end: Position { line: 61, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 56, column: 19, }, end: Position { line: 62, column: 6, }, }, }, ), ], span: Span { start: Position { line: 56, column: 18, }, end: Position { line: 62, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 64, column: 5, }, end: Position { line: 64, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 64, column: 17, }, end: Position { line: 64, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "tlp.conf", span: Span { start: Position { line: 65, column: 8, }, end: Position { line: 65, column: 16, }, }, }, ), ], span: Span { start: Position { line: 65, column: 7, }, end: Position { line: 65, column: 17, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 65, column: 18, }, end: Position { line: 65, column: 22, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkTlpConfig", span: Span { start: Position { line: 65, column: 26, }, end: Position { line: 65, column: 37, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 65, column: 38, }, end: Position { line: 65, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 65, column: 42, }, end: Position { line: 65, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), operator: Addition, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 65, column: 54, }, end: Position { line: 65, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 65, column: 58, }, end: Position { line: 65, column: 69, }, }, }, ), ], default: None, }, ), }, ), }, ), ], span: Span { start: Position { line: 64, column: 23, }, end: Position { line: 66, column: 6, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 66, column: 10, }, end: Position { line: 66, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "enableRDW", span: Span { start: Position { line: 66, column: 24, }, end: Position { line: 66, column: 33, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "NetworkManager/dispatcher.d/99tlp-rdw-nm", span: Span { start: Position { line: 67, column: 8, }, end: Position { line: 67, column: 48, }, }, }, ), ], span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 49, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 67, column: 50, }, end: Position { line: 67, column: 56, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "tlp", span: Span { start: Position { line: 68, column: 12, }, end: Position { line: 68, column: 15, }, }, }, ), }, ), Raw( PartRaw { content: "/etc/NetworkManager/dispatcher.d/99tlp-rdw-nm", span: Span { start: Position { line: 68, column: 10, }, end: Position { line: 68, column: 61, }, }, }, ), ], span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 62, }, }, }, ), }, ), ], span: Span { start: Position { line: 66, column: 34, }, end: Position { line: 69, column: 6, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 71, column: 5, }, end: Position { line: 71, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 71, column: 17, }, end: Position { line: 71, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "tlp", span: Span { start: Position { line: 71, column: 36, }, end: Position { line: 71, column: 39, }, }, }, ), ], span: Span { start: Position { line: 71, column: 34, }, end: Position { line: 71, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 74, column: 5, }, end: Position { line: 74, column: 13, }, }, }, ), Raw( PartRaw { content: "tlp", span: Span { start: Position { line: 74, column: 14, }, end: Position { line: 74, column: 17, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 74, column: 18, }, end: Position { line: 74, column: 26, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 75, column: 7, }, end: Position { line: 75, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 75, column: 13, }, end: Position { line: 75, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "powerManagement", span: Span { start: Position { line: 75, column: 20, }, end: Position { line: 75, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maybeDefault", span: Span { start: Position { line: 76, column: 7, }, end: Position { line: 76, column: 19, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "val", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 76, column: 27, }, end: Position { line: 76, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 76, column: 31, }, end: Position { line: 76, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "val", span: Span { start: Position { line: 76, column: 37, }, end: Position { line: 76, column: 40, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 76, column: 44, }, end: Position { line: 76, column: 48, }, }, }, ), }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 76, column: 51, }, end: Position { line: 76, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkDefault", span: Span { start: Position { line: 76, column: 55, }, end: Position { line: 76, column: 64, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "val", span: Span { start: Position { line: 76, column: 65, }, end: Position { line: 76, column: 68, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 76, column: 22, }, end: Position { line: 76, column: 69, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CPU_SCALING_GOVERNOR_ON_AC", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeDefault", span: Span { start: Position { line: 78, column: 36, }, end: Position { line: 78, column: 48, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 78, column: 49, }, end: Position { line: 78, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cpuFreqGovernor", span: Span { start: Position { line: 78, column: 53, }, end: Position { line: 78, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CPU_SCALING_GOVERNOR_ON_BAT", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 34, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeDefault", span: Span { start: Position { line: 79, column: 37, }, end: Position { line: 79, column: 49, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 79, column: 50, }, end: Position { line: 79, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cpuFreqGovernor", span: Span { start: Position { line: 79, column: 54, }, end: Position { line: 79, column: 69, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CPU_SCALING_MIN_FREQ_ON_AC", span: Span { start: Position { line: 80, column: 7, }, end: Position { line: 80, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeDefault", span: Span { start: Position { line: 80, column: 36, }, end: Position { line: 80, column: 48, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 80, column: 49, }, end: Position { line: 80, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cpufreq", span: Span { start: Position { line: 80, column: 53, }, end: Position { line: 80, column: 60, }, }, }, ), Raw( PartRaw { content: "min", span: Span { start: Position { line: 80, column: 61, }, end: Position { line: 80, column: 64, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CPU_SCALING_MAX_FREQ_ON_AC", span: Span { start: Position { line: 81, column: 7, }, end: Position { line: 81, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeDefault", span: Span { start: Position { line: 81, column: 36, }, end: Position { line: 81, column: 48, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 81, column: 49, }, end: Position { line: 81, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cpufreq", span: Span { start: Position { line: 81, column: 53, }, end: Position { line: 81, column: 60, }, }, }, ), Raw( PartRaw { content: "max", span: Span { start: Position { line: 81, column: 61, }, end: Position { line: 81, column: 64, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CPU_SCALING_MIN_FREQ_ON_BAT", span: Span { start: Position { line: 82, column: 7, }, end: Position { line: 82, column: 34, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeDefault", span: Span { start: Position { line: 82, column: 37, }, end: Position { line: 82, column: 49, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 82, column: 50, }, end: Position { line: 82, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cpufreq", span: Span { start: Position { line: 82, column: 54, }, end: Position { line: 82, column: 61, }, }, }, ), Raw( PartRaw { content: "min", span: Span { start: Position { line: 82, column: 62, }, end: Position { line: 82, column: 65, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CPU_SCALING_MAX_FREQ_ON_BAT", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 34, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "maybeDefault", span: Span { start: Position { line: 83, column: 37, }, end: Position { line: 83, column: 49, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 83, column: 50, }, end: Position { line: 83, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cpufreq", span: Span { start: Position { line: 83, column: 54, }, end: Position { line: 83, column: 61, }, }, }, ), Raw( PartRaw { content: "max", span: Span { start: Position { line: 83, column: 62, }, end: Position { line: 83, column: 65, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 77, column: 8, }, end: Position { line: 84, column: 6, }, }, }, ), span: Span { start: Position { line: 74, column: 29, }, end: Position { line: 84, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 86, column: 5, }, end: Position { line: 86, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 86, column: 14, }, end: Position { line: 86, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 86, column: 19, }, end: Position { line: 86, column: 27, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "tlp", span: Span { start: Position { line: 86, column: 32, }, end: Position { line: 86, column: 35, }, }, }, ), ], span: Span { start: Position { line: 86, column: 30, }, end: Position { line: 86, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 88, column: 5, }, end: Position { line: 88, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 90, column: 7, }, end: Position { line: 90, column: 15, }, }, }, ), Raw( PartRaw { content: "cpufreq", span: Span { start: Position { line: 90, column: 16, }, end: Position { line: 90, column: 23, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 90, column: 24, }, end: Position { line: 90, column: 30, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 90, column: 33, }, end: Position { line: 90, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "packages", span: Span { start: Position { line: 92, column: 7, }, end: Position { line: 92, column: 15, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "tlp", span: Span { start: Position { line: 92, column: 20, }, end: Position { line: 92, column: 23, }, }, }, ), ], span: Span { start: Position { line: 92, column: 18, }, end: Position { line: 92, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sockets", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 14, }, }, }, ), Raw( PartRaw { content: "systemd-rfkill", span: Span { start: Position { line: 96, column: 15, }, end: Position { line: 96, column: 29, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 96, column: 30, }, end: Position { line: 96, column: 36, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 96, column: 39, }, end: Position { line: 96, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 97, column: 15, }, }, }, ), Raw( PartRaw { content: "systemd-rfkill", span: Span { start: Position { line: 97, column: 16, }, end: Position { line: 97, column: 30, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 97, column: 31, }, end: Position { line: 97, column: 37, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 97, column: 40, }, end: Position { line: 97, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 99, column: 7, }, end: Position { line: 99, column: 15, }, }, }, ), Raw( PartRaw { content: "tlp", span: Span { start: Position { line: 99, column: 16, }, end: Position { line: 99, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 24, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 103, column: 29, }, end: Position { line: 103, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 103, column: 36, }, end: Position { line: 103, column: 47, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 103, column: 48, }, end: Position { line: 103, column: 51, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "tlp.conf", span: Span { start: Position { line: 103, column: 53, }, end: Position { line: 103, column: 61, }, }, }, ), ], span: Span { start: Position { line: 103, column: 52, }, end: Position { line: 103, column: 62, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 103, column: 63, }, end: Position { line: 103, column: 69, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 103, column: 27, }, end: Position { line: 103, column: 71, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 107, column: 9, }, end: Position { line: 107, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 107, column: 23, }, end: Position { line: 107, column: 40, }, }, }, ), ], span: Span { start: Position { line: 107, column: 22, }, end: Position { line: 107, column: 41, }, }, }, ), ], span: Span { start: Position { line: 107, column: 20, }, end: Position { line: 107, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 99, column: 22, }, end: Position { line: 108, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 110, column: 7, }, end: Position { line: 110, column: 15, }, }, }, ), Raw( PartRaw { content: "tlp-sleep", span: Span { start: Position { line: 110, column: 16, }, end: Position { line: 110, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "before", span: Span { start: Position { line: 114, column: 9, }, end: Position { line: 114, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "sleep.target", span: Span { start: Position { line: 114, column: 21, }, end: Position { line: 114, column: 33, }, }, }, ), ], span: Span { start: Position { line: 114, column: 20, }, end: Position { line: 114, column: 34, }, }, }, ), ], span: Span { start: Position { line: 114, column: 18, }, end: Position { line: 114, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 115, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "sleep.target", span: Span { start: Position { line: 115, column: 23, }, end: Position { line: 115, column: 35, }, }, }, ), ], span: Span { start: Position { line: 115, column: 22, }, end: Position { line: 115, column: 36, }, }, }, ), ], span: Span { start: Position { line: 115, column: 20, }, end: Position { line: 115, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 22, }, }, }, ), Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 120, column: 23, }, end: Position { line: 120, column: 37, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "tlp", span: Span { start: Position { line: 120, column: 41, }, end: Position { line: 120, column: 44, }, }, }, ), ], span: Span { start: Position { line: 120, column: 40, }, end: Position { line: 120, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 110, column: 28, }, end: Position { line: 121, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 88, column: 15, }, end: Position { line: 122, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 49, column: 28, }, end: Position { line: 123, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 1, }, end: Position { line: 124, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 124, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 124, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 124, column: 2, }, }, }, )