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: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 12, }, end: Position { line: 3, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "mkEnableOption", span: Span { start: Position { line: 3, column: 17, }, end: Position { line: 3, column: 31, }, }, }, ), Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 3, column: 32, }, end: Position { line: 3, column: 36, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 3, column: 37, }, end: Position { line: 3, column: 45, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 3, column: 46, }, end: Position { line: 3, column: 51, }, }, }, ), ], span: Span { start: Position { line: 2, column: 4, }, end: Position { line: 3, column: 52, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 24, }, }, }, ), Raw( PartRaw { content: "sata", span: Span { start: Position { line: 5, column: 25, }, end: Position { line: 5, column: 29, }, }, }, ), Raw( PartRaw { content: "timeout", span: Span { start: Position { line: 5, column: 30, }, end: Position { line: 5, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "buildRule", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "d", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 8, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 8, column: 9, }, end: Position { line: 8, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ", ", span: Span { start: Position { line: 8, column: 27, }, end: Position { line: 8, column: 29, }, }, }, ), ], span: Span { start: Position { line: 8, column: 26, }, end: Position { line: 8, column: 30, }, }, }, ), List( List { elements: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ACTION==\"add\"", span: Span { start: Position { line: 9, column: 9, }, end: Position { line: 9, column: 22, }, }, }, ), ], span: Span { start: Position { line: 9, column: 7, }, end: Position { line: 9, column: 24, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "SUBSYSTEM==\"block\"", span: Span { start: Position { line: 10, column: 9, }, end: Position { line: 10, column: 27, }, }, }, ), ], span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 29, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ENV{ID_", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toUpper", span: Span { start: Position { line: 11, column: 22, }, end: Position { line: 11, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "d", span: Span { start: Position { line: 11, column: 30, }, end: Position { line: 11, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "idBy", span: Span { start: Position { line: 11, column: 32, }, end: Position { line: 11, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "}==\"", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "d", span: Span { start: Position { line: 11, column: 43, }, end: Position { line: 11, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 11, column: 45, }, end: Position { line: 11, column: 49, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 51, }, }, }, ), ], span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 53, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "TAG+=\"systemd\"", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 23, }, }, }, ), ], span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 25, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ENV{SYSTEMD_WANTS}=\"", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "unitName", span: Span { start: Position { line: 13, column: 31, }, end: Position { line: 13, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "d", span: Span { start: Position { line: 13, column: 40, }, end: Position { line: 13, column: 41, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 43, }, }, }, ), ], span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 45, }, }, }, ), ], span: Span { start: Position { line: 8, column: 31, }, end: Position { line: 14, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 7, column: 15, }, end: Position { line: 14, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "devicePath", span: Span { start: Position { line: 16, column: 3, }, end: Position { line: 16, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "device", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "/dev/disk/by-", span: Span { start: Position { line: 17, column: 6, }, end: Position { line: 17, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "device", span: Span { start: Position { line: 17, column: 21, }, end: Position { line: 17, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "idBy", span: Span { start: Position { line: 17, column: 28, }, end: Position { line: 17, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 17, column: 6, }, end: Position { line: 17, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "device", span: Span { start: Position { line: 17, column: 36, }, end: Position { line: 17, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 17, column: 43, }, end: Position { line: 17, column: 47, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 49, }, }, }, ), span: Span { start: Position { line: 16, column: 16, }, end: Position { line: 17, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitName", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "device", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "sata-timeout-", span: Span { start: Position { line: 20, column: 6, }, end: Position { line: 20, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 21, }, end: Position { line: 20, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "strings", span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 20, column: 32, }, }, }, ), Raw( PartRaw { content: "sanitizeDerivationName", span: Span { start: Position { line: 20, column: 33, }, end: Position { line: 20, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "device", span: Span { start: Position { line: 20, column: 56, }, end: Position { line: 20, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 20, column: 63, }, end: Position { line: 20, column: 67, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 69, }, }, }, ), span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 20, column: 69, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startScript", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 23, column: 5, }, end: Position { line: 23, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeShellScript", span: Span { start: Position { line: 23, column: 10, }, end: Position { line: 23, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "sata-timeout.sh", span: Span { start: Position { line: 23, column: 28, }, end: Position { line: 23, column: 43, }, }, }, ), ], span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 23, column: 44, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "set -eEuo pipefail\n\ndevice=\"$1\"\n\n", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 28, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "smartmontools", span: Span { start: Position { line: 28, column: 14, }, end: Position { line: 28, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/smartctl \\\n -l scterc,", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 29, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 29, column: 21, }, end: Position { line: 29, column: 29, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 29, column: 30, }, end: Position { line: 29, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "deciSeconds", span: Span { start: Position { line: 29, column: 34, }, end: Position { line: 29, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: ",", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 29, column: 47, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 29, column: 49, }, end: Position { line: 29, column: 57, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 29, column: 58, }, end: Position { line: 29, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "deciSeconds", span: Span { start: Position { line: 29, column: 62, }, end: Position { line: 29, column: 73, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n --quietmode errorsonly \\\n \"$device\"\n", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 32, column: 5, }, }, }, ), ], span: Span { start: Position { line: 23, column: 45, }, end: Position { line: 32, column: 7, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 36, column: 3, }, end: Position { line: 36, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 36, column: 8, }, end: Position { line: 36, column: 19, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 36, column: 27, }, end: Position { line: 36, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 36, column: 31, }, end: Position { line: 36, column: 42, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ Identifier( Identifier { id: "peterhoeg", span: Span { start: Position { line: 36, column: 46, }, end: Position { line: 36, column: 55, }, }, }, ), ], span: Span { start: Position { line: 36, column: 44, }, end: Position { line: 36, column: 57, }, }, }, ), span: Span { start: Position { line: 36, column: 22, }, end: Position { line: 36, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 10, }, }, }, ), Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 38, column: 11, }, end: Position { line: 38, column: 19, }, }, }, ), Raw( PartRaw { content: "sata", span: Span { start: Position { line: 38, column: 20, }, end: Position { line: 38, column: 24, }, }, }, ), Raw( PartRaw { content: "timeout", span: Span { start: Position { line: 38, column: 25, }, end: Position { line: 38, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 39, column: 14, }, end: Position { line: 39, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 39, column: 30, }, end: Position { line: 39, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 39, column: 34, }, end: Position { line: 39, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "SATA drive timeouts", span: Span { start: Position { line: 39, column: 41, }, end: Position { line: 39, column: 60, }, }, }, ), ], span: Span { start: Position { line: 39, column: 40, }, end: Position { line: 39, column: 61, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "deciSeconds", span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 41, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 41, column: 19, }, end: Position { line: 41, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 14, }, }, }, ), ], to: Integer( Integer { value: "70", span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 43, column: 14, }, end: Position { line: 43, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 43, column: 20, }, end: Position { line: 43, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 44, column: 21, }, end: Position { line: 44, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 44, column: 25, }, end: Position { line: 44, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set SCT Error Recovery Control timeout in deciseconds for use in RAID configurations.\n\nValues are as follows:\n 0 = disable SCT ERT\n 70 = default in consumer drives (7 seconds)\n\nMaximum is disk dependant but probably 60 seconds.\n", span: Span { start: Position { line: 45, column: 1, }, end: Position { line: 52, column: 7, }, }, }, ), ], span: Span { start: Position { line: 44, column: 31, }, end: Position { line: 52, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 41, column: 28, }, end: Position { line: 53, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "drives", span: Span { start: Position { line: 55, column: 5, }, end: Position { line: 55, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 55, column: 14, }, end: Position { line: 55, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 56, column: 21, }, end: Position { line: 56, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 56, column: 25, }, end: Position { line: 56, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of drives for which to configure the timeout.", span: Span { start: Position { line: 56, column: 32, }, end: Position { line: 56, column: 82, }, }, }, ), ], span: Span { start: Position { line: 56, column: 31, }, end: Position { line: 56, column: 83, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 57, column: 14, }, end: Position { line: 57, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 57, column: 20, }, end: Position { line: 57, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 58, column: 10, }, end: Position { line: 58, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 58, column: 16, }, end: Position { line: 58, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 59, column: 11, }, end: Position { line: 59, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 60, column: 13, }, end: Position { line: 60, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 20, }, end: Position { line: 60, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 61, column: 15, }, end: Position { line: 61, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 61, column: 29, }, end: Position { line: 61, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 61, column: 33, }, end: Position { line: 61, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Drive name without the full path.", span: Span { start: Position { line: 61, column: 40, }, end: Position { line: 61, column: 73, }, }, }, ), ], span: Span { start: Position { line: 61, column: 39, }, end: Position { line: 61, column: 74, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 62, column: 15, }, end: Position { line: 62, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 22, }, end: Position { line: 62, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 62, column: 28, }, end: Position { line: 62, column: 31, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 60, column: 29, }, end: Position { line: 63, column: 14, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "idBy", span: Span { start: Position { line: 65, column: 13, }, end: Position { line: 65, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 65, column: 20, }, end: Position { line: 65, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 66, column: 15, }, end: Position { line: 66, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 66, column: 29, }, end: Position { line: 66, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 66, column: 33, }, end: Position { line: 66, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The method to identify the drive.", span: Span { start: Position { line: 66, column: 40, }, end: Position { line: 66, column: 73, }, }, }, ), ], span: Span { start: Position { line: 66, column: 39, }, end: Position { line: 66, column: 74, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 67, column: 15, }, end: Position { line: 67, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 67, column: 22, }, end: Position { line: 67, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 67, column: 28, }, end: Position { line: 67, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 67, column: 36, }, end: Position { line: 67, column: 40, }, }, }, ), ], span: Span { start: Position { line: 67, column: 35, }, end: Position { line: 67, column: 41, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "wwn", span: Span { start: Position { line: 67, column: 43, }, end: Position { line: 67, column: 46, }, }, }, ), ], span: Span { start: Position { line: 67, column: 42, }, end: Position { line: 67, column: 47, }, }, }, ), ], span: Span { start: Position { line: 67, column: 33, }, end: Position { line: 67, column: 49, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 68, column: 15, }, end: Position { line: 68, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 68, column: 26, }, end: Position { line: 68, column: 30, }, }, }, ), ], span: Span { start: Position { line: 68, column: 25, }, end: Position { line: 68, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 65, column: 29, }, end: Position { line: 69, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 59, column: 21, }, end: Position { line: 70, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 58, column: 26, }, end: Position { line: 71, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 55, column: 23, }, end: Position { line: 72, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 38, column: 35, }, end: Position { line: 73, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 75, column: 3, }, end: Position { line: 75, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 75, column: 12, }, end: Position { line: 75, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 75, column: 17, }, end: Position { line: 75, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 75, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 76, column: 5, }, end: Position { line: 76, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 76, column: 14, }, end: Position { line: 76, column: 18, }, }, }, ), Raw( PartRaw { content: "extraRules", span: Span { start: Position { line: 76, column: 19, }, end: Position { line: 76, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 76, column: 32, }, end: Position { line: 76, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMapStringsSep", span: Span { start: Position { line: 76, column: 36, }, end: Position { line: 76, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 76, column: 57, }, end: Position { line: 76, column: 59, }, }, }, ), ], span: Span { start: Position { line: 76, column: 56, }, end: Position { line: 76, column: 60, }, }, }, ), Identifier( Identifier { id: "buildRule", span: Span { start: Position { line: 76, column: 61, }, end: Position { line: 76, column: 70, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 76, column: 71, }, end: Position { line: 76, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "drives", span: Span { start: Position { line: 76, column: 75, }, end: Position { line: 76, column: 81, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 78, column: 5, }, end: Position { line: 78, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 78, column: 13, }, end: Position { line: 78, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 78, column: 24, }, end: Position { line: 78, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listToAttrs", span: Span { start: Position { line: 78, column: 28, }, end: Position { line: 78, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 78, column: 41, }, end: Position { line: 78, column: 44, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "e", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nameValuePair", span: Span { start: Position { line: 80, column: 13, }, end: Position { line: 80, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "unitName", span: Span { start: Position { line: 80, column: 28, }, end: Position { line: 80, column: 36, }, }, }, ), arguments: [ Identifier( Identifier { id: "e", span: Span { start: Position { line: 80, column: 37, }, end: Position { line: 80, column: 38, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 81, column: 11, }, end: Position { line: 81, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "SATA timeout for ", span: Span { start: Position { line: 81, column: 26, }, end: Position { line: 81, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "e", span: Span { start: Position { line: 81, column: 45, }, end: Position { line: 81, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 81, column: 47, }, end: Position { line: 81, column: 51, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 81, column: 25, }, end: Position { line: 81, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 82, column: 11, }, end: Position { line: 82, column: 19, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "sata-timeout.target", span: Span { start: Position { line: 82, column: 25, }, end: Position { line: 82, column: 44, }, }, }, ), ], span: Span { start: Position { line: 82, column: 24, }, end: Position { line: 82, column: 45, }, }, }, ), ], span: Span { start: Position { line: 82, column: 22, }, end: Position { line: 82, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 83, column: 11, }, end: Position { line: 83, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 84, column: 13, }, end: Position { line: 84, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 84, column: 21, }, end: Position { line: 84, column: 28, }, }, }, ), ], span: Span { start: Position { line: 84, column: 20, }, end: Position { line: 84, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 85, column: 13, }, end: Position { line: 85, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "startScript", span: Span { start: Position { line: 85, column: 28, }, end: Position { line: 85, column: 39, }, }, }, ), }, ), Raw( PartRaw { content: " '", span: Span { start: Position { line: 85, column: 26, }, end: Position { line: 85, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "devicePath", span: Span { start: Position { line: 85, column: 44, }, end: Position { line: 85, column: 54, }, }, }, ), arguments: [ Identifier( Identifier { id: "e", span: Span { start: Position { line: 85, column: 55, }, end: Position { line: 85, column: 56, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 85, column: 26, }, end: Position { line: 85, column: 58, }, }, }, ), ], span: Span { start: Position { line: 85, column: 25, }, end: Position { line: 85, column: 59, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 86, column: 13, }, end: Position { line: 86, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 86, column: 26, }, end: Position { line: 86, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateNetwork", span: Span { start: Position { line: 87, column: 13, }, end: Position { line: 87, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 87, column: 30, }, end: Position { line: 87, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHome", span: Span { start: Position { line: 88, column: 13, }, end: Position { line: 88, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "tmpfs", span: Span { start: Position { line: 88, column: 28, }, end: Position { line: 88, column: 33, }, }, }, ), ], span: Span { start: Position { line: 88, column: 27, }, end: Position { line: 88, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectSystem", span: Span { start: Position { line: 89, column: 13, }, end: Position { line: 89, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "strict", span: Span { start: Position { line: 89, column: 30, }, end: Position { line: 89, column: 36, }, }, }, ), ], span: Span { start: Position { line: 89, column: 29, }, end: Position { line: 89, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 83, column: 27, }, end: Position { line: 90, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 80, column: 40, }, end: Position { line: 91, column: 10, }, }, }, ), ], }, ), span: Span { start: Position { line: 79, column: 8, }, end: Position { line: 91, column: 10, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 93, column: 7, }, end: Position { line: 93, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "drives", span: Span { start: Position { line: 93, column: 11, }, end: Position { line: 93, column: 17, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 95, column: 5, }, end: Position { line: 95, column: 12, }, }, }, ), Raw( PartRaw { content: "targets", span: Span { start: Position { line: 95, column: 13, }, end: Position { line: 95, column: 20, }, }, }, ), Raw( PartRaw { content: "sata-timeout", span: Span { start: Position { line: 95, column: 21, }, end: Position { line: 95, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "SATA timeout", span: Span { start: Position { line: 96, column: 22, }, end: Position { line: 96, column: 34, }, }, }, ), ], span: Span { start: Position { line: 96, column: 21, }, end: Position { line: 96, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 97, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 97, column: 21, }, end: Position { line: 97, column: 38, }, }, }, ), ], span: Span { start: Position { line: 97, column: 20, }, end: Position { line: 97, column: 39, }, }, }, ), ], span: Span { start: Position { line: 97, column: 18, }, end: Position { line: 97, column: 41, }, }, }, ), }, ), ], span: Span { start: Position { line: 95, column: 36, }, end: Position { line: 98, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 75, column: 28, }, end: Position { line: 99, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 100, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 100, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 100, column: 2, }, }, }, )