Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "thinkfan", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settingsFormat", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 8, column: 25, }, end: Position { line: 8, column: 32, }, }, }, ), Raw( PartRaw { content: "yaml", span: Span { start: Position { line: 8, column: 33, }, end: Position { line: 8, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 8, column: 38, }, end: Position { line: 8, column: 41, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "settingsFormat", span: Span { start: Position { line: 9, column: 16, }, end: Position { line: 9, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "generate", span: Span { start: Position { line: 9, column: 31, }, end: Position { line: 9, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "thinkfan.yaml", span: Span { start: Position { line: 9, column: 41, }, end: Position { line: 9, column: 54, }, }, }, ), ], span: Span { start: Position { line: 9, column: 40, }, end: Position { line: 9, column: 55, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 9, column: 56, }, end: Position { line: 9, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 9, column: 60, }, end: Position { line: 9, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "thinkfan", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "thinkfan", span: Span { start: Position { line: 10, column: 19, }, end: Position { line: 10, column: 27, }, }, }, ), Raw( PartRaw { content: "override", span: Span { start: Position { line: 10, column: 28, }, end: Position { line: 10, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 10, column: 48, }, end: Position { line: 10, column: 51, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "smartSupport", span: Span { start: Position { line: 10, column: 53, }, end: Position { line: 10, column: 65, }, }, }, ), ], span: Span { start: Position { line: 10, column: 38, }, end: Position { line: 10, column: 66, }, }, }, ), ], span: Span { start: Position { line: 10, column: 37, }, end: Position { line: 10, column: 68, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "levelType", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 12, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 25, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tuple", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ts", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOptionType", span: Span { start: Position { line: 15, column: 19, }, end: Position { line: 15, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "tuple", span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 22, }, }, }, ), ], span: Span { start: Position { line: 16, column: 16, }, end: Position { line: 16, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "merge", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "mergeOneOption", span: Span { start: Position { line: 17, column: 17, }, end: Position { line: 17, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "check", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "xs", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "all", span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "id", span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 27, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "zipListsWith", span: Span { start: Position { line: 18, column: 29, }, end: Position { line: 18, column: 41, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "t", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "t", span: Span { start: Position { line: 18, column: 49, }, end: Position { line: 18, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "check", span: Span { start: Position { line: 18, column: 51, }, end: Position { line: 18, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 18, column: 57, }, end: Position { line: 18, column: 58, }, }, }, ), ], }, ), span: Span { start: Position { line: 18, column: 46, }, end: Position { line: 18, column: 58, }, }, }, ), span: Span { start: Position { line: 18, column: 43, }, end: Position { line: 18, column: 58, }, }, }, ), Identifier( Identifier { id: "ts", span: Span { start: Position { line: 18, column: 60, }, end: Position { line: 18, column: 62, }, }, }, ), Identifier( Identifier { id: "xs", span: Span { start: Position { line: 18, column: 63, }, end: Position { line: 18, column: 65, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 18, column: 17, }, end: Position { line: 18, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "tuple of", span: Span { start: Position { line: 19, column: 24, }, end: Position { line: 19, column: 32, }, }, }, ), ], span: Span { start: Position { line: 19, column: 23, }, end: Position { line: 19, column: 33, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStrings", span: Span { start: Position { line: 19, column: 36, }, end: Position { line: 19, column: 52, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "t", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: " (", span: Span { start: Position { line: 19, column: 58, }, end: Position { line: 19, column: 76, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "t", span: Span { start: Position { line: 19, column: 62, }, end: Position { line: 19, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 19, column: 64, }, end: Position { line: 19, column: 75, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ")", span: Span { start: Position { line: 19, column: 58, }, end: Position { line: 19, column: 77, }, }, }, ), ], span: Span { start: Position { line: 19, column: 57, }, end: Position { line: 19, column: 78, }, }, }, ), span: Span { start: Position { line: 19, column: 54, }, end: Position { line: 19, column: 78, }, }, }, ), Identifier( Identifier { id: "ts", span: Span { start: Position { line: 19, column: 80, }, end: Position { line: 19, column: 82, }, }, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 15, column: 32, }, end: Position { line: 20, column: 8, }, }, }, ), ], }, ), span: Span { start: Position { line: 15, column: 15, }, end: Position { line: 20, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "level", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ints", span: Span { start: Position { line: 21, column: 15, }, end: Position { line: 21, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unsigned", span: Span { start: Position { line: 21, column: 20, }, end: Position { line: 21, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "special", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "enum", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 21, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "level auto", span: Span { start: Position { line: 22, column: 25, }, end: Position { line: 22, column: 35, }, }, }, ), ], span: Span { start: Position { line: 22, column: 24, }, end: Position { line: 22, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "level full-speed", span: Span { start: Position { line: 22, column: 38, }, end: Position { line: 22, column: 54, }, }, }, ), ], span: Span { start: Position { line: 22, column: 37, }, end: Position { line: 22, column: 55, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "level disengaged", span: Span { start: Position { line: 22, column: 57, }, end: Position { line: 22, column: 73, }, }, }, ), ], span: Span { start: Position { line: 22, column: 56, }, end: Position { line: 22, column: 74, }, }, }, ), ], span: Span { start: Position { line: 22, column: 22, }, end: Position { line: 22, column: 76, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "tuple", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 12, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "either", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 22, }, }, }, ), arguments: [ Identifier( Identifier { id: "level", span: Span { start: Position { line: 24, column: 23, }, end: Position { line: 24, column: 28, }, }, }, ), Identifier( Identifier { id: "special", span: Span { start: Position { line: 24, column: 29, }, end: Position { line: 24, column: 36, }, }, }, ), ], }, ), Identifier( Identifier { id: "level", span: Span { start: Position { line: 24, column: 38, }, end: Position { line: 24, column: 43, }, }, }, ), Identifier( Identifier { id: "level", span: Span { start: Position { line: 24, column: 44, }, end: Position { line: 24, column: 49, }, }, }, ), ], span: Span { start: Position { line: 24, column: 13, }, end: Position { line: 24, column: 51, }, }, }, ), ], }, ), span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 24, column: 51, }, }, }, ), span: Span { start: Position { line: 13, column: 15, }, end: Position { line: 24, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sensorType", span: Span { start: Position { line: 27, column: 3, }, end: Position { line: 27, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 27, column: 28, }, end: Position { line: 27, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 28, column: 20, }, end: Position { line: 28, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 28, column: 26, }, end: Position { line: 28, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "settingsFormat", span: Span { start: Position { line: 28, column: 34, }, end: Position { line: 28, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 28, column: 49, }, end: Position { line: 28, column: 53, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 30, column: 14, }, end: Position { line: 30, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 31, column: 16, }, end: Position { line: 31, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 31, column: 22, }, end: Position { line: 31, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hwmon", span: Span { start: Position { line: 31, column: 30, }, end: Position { line: 31, column: 35, }, }, }, ), ], span: Span { start: Position { line: 31, column: 29, }, end: Position { line: 31, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "atasmart", span: Span { start: Position { line: 31, column: 38, }, end: Position { line: 31, column: 46, }, }, }, ), ], span: Span { start: Position { line: 31, column: 37, }, end: Position { line: 31, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "tpacpi", span: Span { start: Position { line: 31, column: 49, }, end: Position { line: 31, column: 55, }, }, }, ), ], span: Span { start: Position { line: 31, column: 48, }, end: Position { line: 31, column: 56, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nvml", span: Span { start: Position { line: 31, column: 58, }, end: Position { line: 31, column: 62, }, }, }, ), ], span: Span { start: Position { line: 31, column: 57, }, end: Position { line: 31, column: 63, }, }, }, ), ], span: Span { start: Position { line: 31, column: 27, }, end: Position { line: 31, column: 65, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 32, column: 23, }, end: Position { line: 32, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 32, column: 27, }, end: Position { line: 32, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The ", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 33, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 33, column: 17, }, end: Position { line: 33, column: 21, }, }, }, ), }, ), Raw( PartRaw { content: " type, can be\n`hwmon` for standard ", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 34, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 34, column: 34, }, end: Position { line: 34, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "s,\n\n`atasmart` to read the temperature via\nS.M.A.R.T (requires smartSupport to be enabled),\n\n`tpacpi` for the legacy thinkpac_acpi driver, or\n\n`nvml` for the (proprietary) nVidia driver.\n", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 42, column: 9, }, }, }, ), ], span: Span { start: Position { line: 32, column: 33, }, end: Position { line: 42, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 30, column: 23, }, end: Position { line: 43, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "query", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 44, column: 15, }, end: Position { line: 44, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 45, column: 9, }, end: Position { line: 45, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 45, column: 16, }, end: Position { line: 45, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 45, column: 22, }, end: Position { line: 45, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 46, column: 23, }, end: Position { line: 46, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 46, column: 27, }, end: Position { line: 46, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The query string used to match one or more ", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 47, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 47, column: 56, }, end: Position { line: 47, column: 60, }, }, }, ), }, ), Raw( PartRaw { content: "s: can be\na fullpath to the temperature file (single ", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 48, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 48, column: 56, }, end: Position { line: 48, column: 60, }, }, }, ), }, ), Raw( PartRaw { content: ") or a fullpath\nto a driver directory (multiple ", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 49, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 49, column: 45, }, end: Position { line: 49, column: 49, }, }, }, ), }, ), Raw( PartRaw { content: "s).\n\n::: {.note}\nWhen multiple ", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 52, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 52, column: 27, }, end: Position { line: 52, column: 31, }, }, }, ), }, ), Raw( PartRaw { content: "s match, the query can be restricted using the\n{option}`name` or {option}`indices` options.\n:::\n", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 55, column: 9, }, }, }, ), ], span: Span { start: Position { line: 46, column: 33, }, end: Position { line: 55, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 44, column: 24, }, end: Position { line: 56, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "indices", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 57, column: 17, }, end: Position { line: 57, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 58, column: 21, }, end: Position { line: 58, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 58, column: 28, }, end: Position { line: 58, column: 34, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 58, column: 36, }, end: Position { line: 58, column: 42, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ints", span: Span { start: Position { line: 58, column: 43, }, end: Position { line: 58, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unsigned", span: Span { start: Position { line: 58, column: 48, }, end: Position { line: 58, column: 56, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 58, column: 16, }, end: Position { line: 58, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 59, column: 19, }, end: Position { line: 59, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 60, column: 23, }, end: Position { line: 60, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 60, column: 27, }, end: Position { line: 60, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A list of ", span: Span { start: Position { line: 61, column: 1, }, end: Position { line: 61, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 61, column: 23, }, end: Position { line: 61, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: "s to pick in case multiple ", span: Span { start: Position { line: 61, column: 1, }, end: Position { line: 61, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 61, column: 57, }, end: Position { line: 61, column: 61, }, }, }, ), }, ), Raw( PartRaw { content: "s match the query.\n\n::: {.note}\nIndices start from 0.\n:::\n", span: Span { start: Position { line: 61, column: 1, }, end: Position { line: 66, column: 9, }, }, }, ), ], span: Span { start: Position { line: 60, column: 33, }, end: Position { line: 66, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 57, column: 26, }, end: Position { line: 67, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 15, }, end: Position { line: 68, column: 6, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 68, column: 10, }, end: Position { line: 68, column: 23, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "name", span: Span { start: Position { line: 68, column: 25, }, end: Position { line: 68, column: 29, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "sensor", span: Span { start: Position { line: 68, column: 34, }, end: Position { line: 68, column: 40, }, }, }, ), ], span: Span { start: Position { line: 68, column: 33, }, end: Position { line: 68, column: 41, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "correction", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 69, column: 20, }, end: Position { line: 69, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 70, column: 21, }, end: Position { line: 70, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 70, column: 28, }, end: Position { line: 70, column: 34, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 70, column: 36, }, end: Position { line: 70, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "int", span: Span { start: Position { line: 70, column: 43, }, end: Position { line: 70, column: 46, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 70, column: 16, }, end: Position { line: 70, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 71, column: 19, }, end: Position { line: 71, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 72, column: 23, }, end: Position { line: 72, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 72, column: 27, }, end: Position { line: 72, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A list of values to be added to the temperature of each sensor,\ncan be used to equalize small discrepancies in temperature ratings.\n", span: Span { start: Position { line: 73, column: 1, }, end: Position { line: 75, column: 9, }, }, }, ), ], span: Span { start: Position { line: 72, column: 33, }, end: Position { line: 75, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 69, column: 29, }, end: Position { line: 76, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 68, column: 43, }, end: Position { line: 77, column: 6, }, }, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 27, column: 38, }, end: Position { line: 78, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 27, column: 16, }, end: Position { line: 78, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sensorToConf", span: Span { start: Position { line: 81, column: 3, }, end: Position { line: 81, column: 15, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: RightAt( "args", ), arguments: [ FunctionHeadDestructuredArgument { identifier: "type", default: None, }, FunctionHeadDestructuredArgument { identifier: "query", default: None, }, ], }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterAttrs", span: Span { start: Position { line: 82, column: 6, }, end: Position { line: 82, column: 17, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "v", span: Span { start: Position { line: 82, column: 25, }, end: Position { line: 82, column: 26, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 82, column: 30, }, end: Position { line: 82, column: 34, }, }, }, ), }, ), operator: LogicalAnd, right: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 82, column: 40, }, end: Position { line: 82, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "k", span: Span { start: Position { line: 82, column: 45, }, end: Position { line: 82, column: 46, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 82, column: 49, }, end: Position { line: 82, column: 53, }, }, }, ), ], span: Span { start: Position { line: 82, column: 48, }, end: Position { line: 82, column: 54, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "query", span: Span { start: Position { line: 82, column: 56, }, end: Position { line: 82, column: 61, }, }, }, ), ], span: Span { start: Position { line: 82, column: 55, }, end: Position { line: 82, column: 62, }, }, }, ), ], span: Span { start: Position { line: 82, column: 47, }, end: Position { line: 82, column: 63, }, }, }, ), ], }, ), span: Span { start: Position { line: 82, column: 38, }, end: Position { line: 82, column: 64, }, }, }, ), }, ), span: Span { start: Position { line: 82, column: 22, }, end: Position { line: 82, column: 64, }, }, }, ), span: Span { start: Position { line: 82, column: 19, }, end: Position { line: 82, column: 64, }, }, }, ), Identifier( Identifier { id: "args", span: Span { start: Position { line: 82, column: 66, }, end: Position { line: 82, column: 70, }, }, }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "type", span: Span { start: Position { line: 83, column: 13, }, end: Position { line: 83, column: 17, }, }, }, ), }, ), ], span: Span { start: Position { line: 83, column: 10, }, end: Position { line: 83, column: 19, }, }, }, ), }, ), ], to: Identifier( Identifier { id: "query", span: Span { start: Position { line: 83, column: 22, }, end: Position { line: 83, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 83, column: 8, }, end: Position { line: 83, column: 30, }, }, }, ), }, ), span: Span { start: Position { line: 81, column: 18, }, end: Position { line: 83, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "syntaxNote", span: Span { start: Position { line: 85, column: 3, }, end: Position { line: 85, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "::: {.note}\nThis section slightly departs from the thinkfan.conf syntax.\nThe type and path must be specified like this:\n```\n type = \"tpacpi\";\n query = \"/proc/acpi/ibm/", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 91, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 91, column: 33, }, end: Position { line: 91, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "\";\n```\ninstead of a single declaration like:\n```\n - tpacpi: /proc/acpi/ibm/", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 95, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 95, column: 34, }, end: Position { line: 95, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "\n```\n:::\n", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 98, column: 3, }, }, }, ), ], span: Span { start: Position { line: 85, column: 22, }, end: Position { line: 98, column: 5, }, }, }, ), span: Span { start: Position { line: 85, column: 16, }, end: Position { line: 98, column: 5, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 102, column: 3, }, end: Position { line: 102, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 104, column: 5, }, end: Position { line: 104, column: 13, }, }, }, ), Raw( PartRaw { content: "thinkfan", span: Span { start: Position { line: 104, column: 14, }, end: Position { line: 104, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 106, column: 7, }, end: Position { line: 106, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 106, column: 16, }, end: Position { line: 106, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 107, column: 9, }, end: Position { line: 107, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 107, column: 16, }, end: Position { line: 107, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 107, column: 22, }, end: Position { line: 107, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 108, column: 9, }, end: Position { line: 108, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 108, column: 19, }, end: Position { line: 108, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 109, column: 23, }, end: Position { line: 109, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 109, column: 27, }, end: Position { line: 109, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable thinkfan, a fan control program.\n\n::: {.note}\nThis module targets IBM/Lenovo thinkpads by default, for\nother hardware you will have configure it more carefully.\n:::\n", span: Span { start: Position { line: 110, column: 1, }, end: Position { line: 116, column: 9, }, }, }, ), ], span: Span { start: Position { line: 109, column: 33, }, end: Position { line: 116, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "relatedPackages", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 24, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "thinkfan", span: Span { start: Position { line: 117, column: 30, }, end: Position { line: 117, column: 38, }, }, }, ), ], span: Span { start: Position { line: 117, column: 29, }, end: Position { line: 117, column: 39, }, }, }, ), ], span: Span { start: Position { line: 117, column: 27, }, end: Position { line: 117, column: 41, }, }, }, ), }, ), ], span: Span { start: Position { line: 106, column: 25, }, end: Position { line: 118, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "smartSupport", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 120, column: 22, }, end: Position { line: 120, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 121, column: 9, }, end: Position { line: 121, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 121, column: 16, }, end: Position { line: 121, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 121, column: 22, }, end: Position { line: 121, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 122, column: 9, }, end: Position { line: 122, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 122, column: 19, }, end: Position { line: 122, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 123, column: 23, }, end: Position { line: 123, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 123, column: 27, }, end: Position { line: 123, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to build thinkfan with S.M.A.R.T. support to read temperatures\ndirectly from hard disks.\n", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 126, column: 9, }, }, }, ), ], span: Span { start: Position { line: 123, column: 33, }, end: Position { line: 126, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 120, column: 31, }, end: Position { line: 127, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sensors", span: Span { start: Position { line: 129, column: 7, }, end: Position { line: 129, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 129, column: 17, }, end: Position { line: 129, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 130, column: 16, }, end: Position { line: 130, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 130, column: 22, }, end: Position { line: 130, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "sensorType", span: Span { start: Position { line: 130, column: 30, }, end: Position { line: 130, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "sensor", span: Span { start: Position { line: 130, column: 42, }, end: Position { line: 130, column: 48, }, }, }, ), ], span: Span { start: Position { line: 130, column: 41, }, end: Position { line: 130, column: 49, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 131, column: 9, }, end: Position { line: 131, column: 16, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 132, column: 13, }, end: Position { line: 132, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "tpacpi", span: Span { start: Position { line: 132, column: 21, }, end: Position { line: 132, column: 27, }, }, }, ), ], span: Span { start: Position { line: 132, column: 20, }, end: Position { line: 132, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "query", span: Span { start: Position { line: 133, column: 13, }, end: Position { line: 133, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/proc/acpi/ibm/thermal", span: Span { start: Position { line: 133, column: 22, }, end: Position { line: 133, column: 44, }, }, }, ), ], span: Span { start: Position { line: 133, column: 21, }, end: Position { line: 133, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 132, column: 11, }, end: Position { line: 134, column: 12, }, }, }, ), ], span: Span { start: Position { line: 131, column: 19, }, end: Position { line: 135, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 136, column: 9, }, end: Position { line: 136, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 136, column: 23, }, end: Position { line: 136, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 136, column: 27, }, end: Position { line: 136, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of temperature sensors thinkfan will monitor.\n\n", span: Span { start: Position { line: 137, column: 1, }, end: Position { line: 139, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "syntaxNote", span: Span { start: Position { line: 139, column: 13, }, end: Position { line: 139, column: 23, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "thermal", span: Span { start: Position { line: 139, column: 25, }, end: Position { line: 139, column: 32, }, }, }, ), ], span: Span { start: Position { line: 139, column: 24, }, end: Position { line: 139, column: 33, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 137, column: 1, }, end: Position { line: 140, column: 9, }, }, }, ), ], span: Span { start: Position { line: 136, column: 33, }, end: Position { line: 140, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 129, column: 26, }, end: Position { line: 141, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fans", span: Span { start: Position { line: 143, column: 7, }, end: Position { line: 143, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 143, column: 14, }, end: Position { line: 143, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 144, column: 9, }, end: Position { line: 144, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 144, column: 16, }, end: Position { line: 144, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 144, column: 22, }, end: Position { line: 144, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "sensorType", span: Span { start: Position { line: 144, column: 30, }, end: Position { line: 144, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "fan", span: Span { start: Position { line: 144, column: 42, }, end: Position { line: 144, column: 45, }, }, }, ), ], span: Span { start: Position { line: 144, column: 41, }, end: Position { line: 144, column: 46, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 145, column: 9, }, end: Position { line: 145, column: 16, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 146, column: 13, }, end: Position { line: 146, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "tpacpi", span: Span { start: Position { line: 146, column: 21, }, end: Position { line: 146, column: 27, }, }, }, ), ], span: Span { start: Position { line: 146, column: 20, }, end: Position { line: 146, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "query", span: Span { start: Position { line: 147, column: 13, }, end: Position { line: 147, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/proc/acpi/ibm/fan", span: Span { start: Position { line: 147, column: 22, }, end: Position { line: 147, column: 40, }, }, }, ), ], span: Span { start: Position { line: 147, column: 21, }, end: Position { line: 147, column: 41, }, }, }, ), }, ), ], span: Span { start: Position { line: 146, column: 11, }, end: Position { line: 148, column: 12, }, }, }, ), ], span: Span { start: Position { line: 145, column: 19, }, end: Position { line: 149, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 150, column: 23, }, end: Position { line: 150, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 150, column: 27, }, end: Position { line: 150, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of fans thinkfan will control.\n\n", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 153, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "syntaxNote", span: Span { start: Position { line: 153, column: 13, }, end: Position { line: 153, column: 23, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "fan", span: Span { start: Position { line: 153, column: 25, }, end: Position { line: 153, column: 28, }, }, }, ), ], span: Span { start: Position { line: 153, column: 24, }, end: Position { line: 153, column: 29, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 154, column: 9, }, }, }, ), ], span: Span { start: Position { line: 150, column: 33, }, end: Position { line: 154, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 143, column: 23, }, end: Position { line: 155, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "levels", span: Span { start: Position { line: 157, column: 7, }, end: Position { line: 157, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 157, column: 16, }, end: Position { line: 157, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 158, column: 16, }, end: Position { line: 158, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 158, column: 22, }, end: Position { line: 158, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "levelType", span: Span { start: Position { line: 158, column: 29, }, end: Position { line: 158, column: 38, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 16, }, }, }, ), ], to: List( List { elements: [ List( List { elements: [ Integer( Integer { value: "0", span: Span { start: Position { line: 160, column: 12, }, end: Position { line: 160, column: 13, }, }, }, ), Integer( Integer { value: "0", span: Span { start: Position { line: 160, column: 15, }, end: Position { line: 160, column: 16, }, }, }, ), Integer( Integer { value: "55", span: Span { start: Position { line: 160, column: 19, }, end: Position { line: 160, column: 21, }, }, }, ), ], span: Span { start: Position { line: 160, column: 11, }, end: Position { line: 160, column: 22, }, }, }, ), List( List { elements: [ Integer( Integer { value: "1", span: Span { start: Position { line: 161, column: 12, }, end: Position { line: 161, column: 13, }, }, }, ), Integer( Integer { value: "48", span: Span { start: Position { line: 161, column: 15, }, end: Position { line: 161, column: 17, }, }, }, ), Integer( Integer { value: "60", span: Span { start: Position { line: 161, column: 19, }, end: Position { line: 161, column: 21, }, }, }, ), ], span: Span { start: Position { line: 161, column: 11, }, end: Position { line: 161, column: 22, }, }, }, ), List( List { elements: [ Integer( Integer { value: "2", span: Span { start: Position { line: 162, column: 12, }, end: Position { line: 162, column: 13, }, }, }, ), Integer( Integer { value: "50", span: Span { start: Position { line: 162, column: 15, }, end: Position { line: 162, column: 17, }, }, }, ), Integer( Integer { value: "61", span: Span { start: Position { line: 162, column: 19, }, end: Position { line: 162, column: 21, }, }, }, ), ], span: Span { start: Position { line: 162, column: 11, }, end: Position { line: 162, column: 22, }, }, }, ), List( List { elements: [ Integer( Integer { value: "3", span: Span { start: Position { line: 163, column: 12, }, end: Position { line: 163, column: 13, }, }, }, ), Integer( Integer { value: "52", span: Span { start: Position { line: 163, column: 15, }, end: Position { line: 163, column: 17, }, }, }, ), Integer( Integer { value: "63", span: Span { start: Position { line: 163, column: 19, }, end: Position { line: 163, column: 21, }, }, }, ), ], span: Span { start: Position { line: 163, column: 11, }, end: Position { line: 163, column: 22, }, }, }, ), List( List { elements: [ Integer( Integer { value: "6", span: Span { start: Position { line: 164, column: 12, }, end: Position { line: 164, column: 13, }, }, }, ), Integer( Integer { value: "56", span: Span { start: Position { line: 164, column: 15, }, end: Position { line: 164, column: 17, }, }, }, ), Integer( Integer { value: "65", span: Span { start: Position { line: 164, column: 19, }, end: Position { line: 164, column: 21, }, }, }, ), ], span: Span { start: Position { line: 164, column: 11, }, end: Position { line: 164, column: 22, }, }, }, ), List( List { elements: [ Integer( Integer { value: "7", span: Span { start: Position { line: 165, column: 12, }, end: Position { line: 165, column: 13, }, }, }, ), Integer( Integer { value: "60", span: Span { start: Position { line: 165, column: 15, }, end: Position { line: 165, column: 17, }, }, }, ), Integer( Integer { value: "85", span: Span { start: Position { line: 165, column: 19, }, end: Position { line: 165, column: 21, }, }, }, ), ], span: Span { start: Position { line: 165, column: 11, }, end: Position { line: 165, column: 22, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "level auto", span: Span { start: Position { line: 166, column: 13, }, end: Position { line: 166, column: 23, }, }, }, ), ], span: Span { start: Position { line: 166, column: 12, }, end: Position { line: 166, column: 24, }, }, }, ), Integer( Integer { value: "80", span: Span { start: Position { line: 166, column: 25, }, end: Position { line: 166, column: 27, }, }, }, ), Integer( Integer { value: "32767", span: Span { start: Position { line: 166, column: 28, }, end: Position { line: 166, column: 33, }, }, }, ), ], span: Span { start: Position { line: 166, column: 11, }, end: Position { line: 166, column: 34, }, }, }, ), ], span: Span { start: Position { line: 159, column: 19, }, end: Position { line: 167, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 168, column: 9, }, end: Position { line: 168, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 168, column: 23, }, end: Position { line: 168, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 168, column: 27, }, end: Position { line: 168, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[LEVEL LOW HIGH]\n\nLEVEL is the fan level to use: it can be an integer (0-7 with thinkpad_acpi),\n\"level auto\" (to keep the default firmware behavior), \"level full-speed\" or\n\"level disengaged\" (to run the fan as fast as possible).\nLOW is the temperature at which to step down to the previous level.\nHIGH is the temperature at which to step up to the next level.\nAll numbers are integers.\n", span: Span { start: Position { line: 169, column: 1, }, end: Position { line: 177, column: 9, }, }, }, ), ], span: Span { start: Position { line: 168, column: 33, }, end: Position { line: 177, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 157, column: 25, }, end: Position { line: 178, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraArgs", span: Span { start: Position { line: 180, column: 7, }, end: Position { line: 180, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 180, column: 19, }, end: Position { line: 180, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 181, column: 16, }, end: Position { line: 181, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 181, column: 22, }, end: Position { line: 181, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 181, column: 29, }, end: Position { line: 181, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 181, column: 35, }, end: Position { line: 181, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 182, column: 9, }, end: Position { line: 182, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 182, column: 19, }, end: Position { line: 182, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 183, column: 9, }, end: Position { line: 183, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "-b", span: Span { start: Position { line: 183, column: 22, }, end: Position { line: 183, column: 24, }, }, }, ), ], span: Span { start: Position { line: 183, column: 21, }, end: Position { line: 183, column: 25, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "0", span: Span { start: Position { line: 183, column: 27, }, end: Position { line: 183, column: 28, }, }, }, ), ], span: Span { start: Position { line: 183, column: 26, }, end: Position { line: 183, column: 29, }, }, }, ), ], span: Span { start: Position { line: 183, column: 19, }, end: Position { line: 183, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 184, column: 9, }, end: Position { line: 184, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 184, column: 23, }, end: Position { line: 184, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 184, column: 27, }, end: Position { line: 184, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A list of extra command line arguments to pass to thinkfan.\nCheck the thinkfan(1) manpage for available arguments.\n", span: Span { start: Position { line: 185, column: 1, }, end: Position { line: 187, column: 9, }, }, }, ), ], span: Span { start: Position { line: 184, column: 33, }, end: Position { line: 187, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 180, column: 28, }, end: Position { line: 188, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 190, column: 7, }, end: Position { line: 190, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 190, column: 18, }, end: Position { line: 190, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 191, column: 9, }, end: Position { line: 191, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 191, column: 16, }, end: Position { line: 191, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 191, column: 22, }, end: Position { line: 191, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "settingsFormat", span: Span { start: Position { line: 191, column: 30, }, end: Position { line: 191, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 191, column: 45, }, end: Position { line: 191, column: 49, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 192, column: 9, }, end: Position { line: 192, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 192, column: 19, }, end: Position { line: 192, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 193, column: 9, }, end: Position { line: 193, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 193, column: 23, }, end: Position { line: 193, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 193, column: 27, }, end: Position { line: 193, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Thinkfan settings. Use this option to configure thinkfan\nsettings not exposed in a NixOS option or to bypass one.\nBefore changing this, read the `thinkfan.conf(5)`\nmanpage and take a look at the example config file at\n\n", span: Span { start: Position { line: 194, column: 1, }, end: Position { line: 199, column: 9, }, }, }, ), ], span: Span { start: Position { line: 193, column: 33, }, end: Position { line: 199, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 190, column: 27, }, end: Position { line: 200, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 104, column: 25, }, end: Position { line: 202, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 102, column: 13, }, end: Position { line: 204, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 206, column: 3, }, end: Position { line: 206, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 206, column: 12, }, end: Position { line: 206, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 206, column: 17, }, end: Position { line: 206, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 206, column: 21, }, end: Position { line: 206, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 208, column: 5, }, end: Position { line: 208, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 208, column: 17, }, end: Position { line: 208, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "thinkfan", span: Span { start: Position { line: 208, column: 36, }, end: Position { line: 208, column: 44, }, }, }, ), ], span: Span { start: Position { line: 208, column: 34, }, end: Position { line: 208, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 210, column: 5, }, end: Position { line: 210, column: 13, }, }, }, ), Raw( PartRaw { content: "thinkfan", span: Span { start: Position { line: 210, column: 14, }, end: Position { line: 210, column: 22, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 210, column: 23, }, end: Position { line: 210, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 210, column: 34, }, end: Position { line: 210, column: 42, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 210, column: 50, }, end: Position { line: 210, column: 59, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 210, column: 60, }, end: Position { line: 210, column: 61, }, }, }, ), ], }, ), span: Span { start: Position { line: 210, column: 47, }, end: Position { line: 210, column: 61, }, }, }, ), span: Span { start: Position { line: 210, column: 44, }, end: Position { line: 210, column: 61, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sensors", span: Span { start: Position { line: 211, column: 7, }, end: Position { line: 211, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 211, column: 17, }, end: Position { line: 211, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "sensorToConf", span: Span { start: Position { line: 211, column: 21, }, end: Position { line: 211, column: 33, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 211, column: 34, }, end: Position { line: 211, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sensors", span: Span { start: Position { line: 211, column: 38, }, end: Position { line: 211, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fans", span: Span { start: Position { line: 212, column: 7, }, end: Position { line: 212, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 212, column: 17, }, end: Position { line: 212, column: 20, }, }, }, ), arguments: [ Identifier( Identifier { id: "sensorToConf", span: Span { start: Position { line: 212, column: 21, }, end: Position { line: 212, column: 33, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 212, column: 34, }, end: Position { line: 212, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fans", span: Span { start: Position { line: 212, column: 38, }, end: Position { line: 212, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "levels", span: Span { start: Position { line: 213, column: 7, }, end: Position { line: 213, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 213, column: 17, }, end: Position { line: 213, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "levels", span: Span { start: Position { line: 213, column: 21, }, end: Position { line: 213, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 210, column: 63, }, end: Position { line: 214, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 216, column: 5, }, end: Position { line: 216, column: 12, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 216, column: 13, }, end: Position { line: 216, column: 21, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "thinkfan", span: Span { start: Position { line: 216, column: 26, }, end: Position { line: 216, column: 34, }, }, }, ), ], span: Span { start: Position { line: 216, column: 24, }, end: Position { line: 216, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 218, column: 5, }, end: Position { line: 218, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 218, column: 13, }, end: Position { line: 218, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "thinkfan", span: Span { start: Position { line: 219, column: 7, }, end: Position { line: 219, column: 15, }, }, }, ), Raw( PartRaw { content: "environment", span: Span { start: Position { line: 219, column: 16, }, end: Position { line: 219, column: 27, }, }, }, ), Raw( PartRaw { content: "THINKFAN_ARGS", span: Span { start: Position { line: 219, column: 28, }, end: Position { line: 219, column: 41, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArgs", span: Span { start: Position { line: 219, column: 44, }, end: Position { line: 219, column: 59, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "-c", span: Span { start: Position { line: 219, column: 64, }, end: Position { line: 219, column: 66, }, }, }, ), ], span: Span { start: Position { line: 219, column: 63, }, end: Position { line: 219, column: 67, }, }, }, ), Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 219, column: 68, }, end: Position { line: 219, column: 78, }, }, }, ), ], span: Span { start: Position { line: 219, column: 61, }, end: Position { line: 219, column: 80, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 219, column: 84, }, end: Position { line: 219, column: 87, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraArgs", span: Span { start: Position { line: 219, column: 88, }, end: Position { line: 219, column: 97, }, }, }, ), ], default: None, }, ), }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "thinkfan", span: Span { start: Position { line: 222, column: 7, }, end: Position { line: 222, column: 15, }, }, }, ), Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 222, column: 16, }, end: Position { line: 222, column: 24, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 222, column: 30, }, end: Position { line: 222, column: 47, }, }, }, ), ], span: Span { start: Position { line: 222, column: 29, }, end: Position { line: 222, column: 48, }, }, }, ), ], span: Span { start: Position { line: 222, column: 27, }, end: Position { line: 222, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "thinkfan-wakeup", span: Span { start: Position { line: 223, column: 7, }, end: Position { line: 223, column: 22, }, }, }, ), Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 223, column: 23, }, end: Position { line: 223, column: 31, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "sleep.target", span: Span { start: Position { line: 223, column: 37, }, end: Position { line: 223, column: 49, }, }, }, ), ], span: Span { start: Position { line: 223, column: 36, }, end: Position { line: 223, column: 50, }, }, }, ), ], span: Span { start: Position { line: 223, column: 34, }, end: Position { line: 223, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "thinkfan-sleep", span: Span { start: Position { line: 224, column: 7, }, end: Position { line: 224, column: 21, }, }, }, ), Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 224, column: 22, }, end: Position { line: 224, column: 30, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "sleep.target", span: Span { start: Position { line: 224, column: 36, }, end: Position { line: 224, column: 48, }, }, }, ), ], span: Span { start: Position { line: 224, column: 35, }, end: Position { line: 224, column: 49, }, }, }, ), ], span: Span { start: Position { line: 224, column: 33, }, end: Position { line: 224, column: 51, }, }, }, ), }, ), ], span: Span { start: Position { line: 218, column: 24, }, end: Position { line: 225, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 227, column: 5, }, end: Position { line: 227, column: 9, }, }, }, ), Raw( PartRaw { content: "extraModprobeConfig", span: Span { start: Position { line: 227, column: 10, }, end: Position { line: 227, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "options thinkpad_acpi experimental=1 fan_control=1", span: Span { start: Position { line: 227, column: 33, }, end: Position { line: 227, column: 83, }, }, }, ), ], span: Span { start: Position { line: 227, column: 32, }, end: Position { line: 227, column: 84, }, }, }, ), }, ), ], span: Span { start: Position { line: 206, column: 28, }, end: Position { line: 229, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 100, column: 4, }, end: Position { line: 230, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 230, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 230, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 230, column: 2, }, }, }, )