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, }, FunctionHeadDestructuredArgument { identifier: "utils", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "utils", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 11, }, }, }, ), target: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 4, column: 6, }, end: Position { line: 4, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "randomEncryptionCoerce", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 25, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "enable", }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 8, column: 46, }, end: Position { line: 8, column: 52, }, }, }, ), ], span: Span { start: Position { line: 8, column: 37, }, end: Position { line: 8, column: 53, }, }, }, ), ], span: Span { start: Position { line: 8, column: 36, }, end: Position { line: 8, column: 55, }, }, }, ), span: Span { start: Position { line: 8, column: 28, }, end: Position { line: 8, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "randomEncryptionOpts", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 23, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 16, }, end: Position { line: 14, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 15, column: 19, }, end: Position { line: 15, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 16, column: 16, }, end: Position { line: 16, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 16, column: 22, }, end: Position { line: 16, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 23, }, end: Position { line: 17, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 17, column: 27, }, end: Position { line: 17, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Encrypt swap device with a random key. This way you won't have a persistent swap device.\n\nWARNING: Don't try to hibernate when you have at least one swap partition with\nthis option enabled! We have no way to set the partition into which hibernation image\nis saved, so if your image ends up on an encrypted one you would lose it!\n\nWARNING #2: Do not use /dev/disk/by-uuid/… or /dev/disk/by-label/… as your swap device\nwhen using randomEncryption as the UUIDs and labels will get erased on every boot when\nthe partition is encrypted. Best to use /dev/disk/by-partuuid/…\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 27, column: 9, }, }, }, ), ], span: Span { start: Position { line: 17, column: 33, }, end: Position { line: 27, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 28, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cipher", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 30, column: 16, }, end: Position { line: 30, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "aes-xts-plain64", span: Span { start: Position { line: 31, column: 20, }, end: Position { line: 31, column: 35, }, }, }, ), ], span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "serpent-xts-plain64", span: Span { start: Position { line: 32, column: 20, }, end: Position { line: 32, column: 39, }, }, }, ), ], span: Span { start: Position { line: 32, column: 19, }, end: Position { line: 32, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 16, }, end: Position { line: 33, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 23, }, end: Position { line: 34, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 34, column: 27, }, end: Position { line: 34, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Use specified cipher for randomEncryption.\n\nHint: Run \"cryptsetup benchmark\" to see which one is fastest on your machine.\n", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 38, column: 9, }, }, }, ), ], span: Span { start: Position { line: 34, column: 33, }, end: Position { line: 38, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 30, column: 25, }, end: Position { line: 39, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 41, column: 16, }, end: Position { line: 41, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/dev/urandom", span: Span { start: Position { line: 42, column: 20, }, end: Position { line: 42, column: 32, }, }, }, ), ], span: Span { start: Position { line: 42, column: 19, }, end: Position { line: 42, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 43, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/dev/random", span: Span { start: Position { line: 43, column: 20, }, end: Position { line: 43, column: 31, }, }, }, ), ], span: Span { start: Position { line: 43, column: 19, }, end: Position { line: 43, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 44, column: 9, }, end: Position { line: 44, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 44, column: 16, }, end: Position { line: 44, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 44, column: 22, }, end: Position { line: 44, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 45, column: 9, }, end: Position { line: 45, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 45, column: 23, }, end: Position { line: 45, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 45, column: 27, }, end: Position { line: 45, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Define the source of randomness to obtain a random key for encryption.\n", span: Span { start: Position { line: 46, column: 1, }, end: Position { line: 47, column: 9, }, }, }, ), ], span: Span { start: Position { line: 45, column: 33, }, end: Position { line: 47, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 41, column: 25, }, end: Position { line: 48, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowDiscards", span: Span { start: Position { line: 50, column: 7, }, end: Position { line: 50, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 50, column: 23, }, end: Position { line: 50, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 51, column: 19, }, end: Position { line: 51, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 53, column: 23, }, end: Position { line: 53, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 53, column: 27, }, end: Position { line: 53, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to allow TRIM requests to the underlying device. This option\nhas security implications; please read the LUKS documentation before\nactivating it.\n", span: Span { start: Position { line: 54, column: 1, }, end: Position { line: 57, column: 9, }, }, }, ), ], span: Span { start: Position { line: 53, column: 33, }, end: Position { line: 57, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 50, column: 32, }, end: Position { line: 58, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 15, }, end: Position { line: 59, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 35, }, end: Position { line: 61, column: 4, }, }, }, ), span: Span { start: Position { line: 10, column: 26, }, end: Position { line: 61, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "swapCfg", span: Span { start: Position { line: 63, column: 3, }, end: Position { line: 63, column: 10, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 65, column: 5, }, end: Position { line: 65, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 67, column: 16, }, end: Position { line: 67, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/dev/sda3", span: Span { start: Position { line: 68, column: 20, }, end: Position { line: 68, column: 29, }, }, }, ), ], span: Span { start: Position { line: 68, column: 19, }, end: Position { line: 68, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 69, column: 16, }, end: Position { line: 69, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 69, column: 22, }, end: Position { line: 69, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 70, column: 23, }, end: Position { line: 70, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 70, column: 27, }, end: Position { line: 70, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Path of the device or swap file.", span: Span { start: Position { line: 70, column: 34, }, end: Position { line: 70, column: 66, }, }, }, ), ], span: Span { start: Position { line: 70, column: 33, }, end: Position { line: 70, column: 67, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 67, column: 25, }, end: Position { line: 71, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "label", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 73, column: 15, }, end: Position { line: 73, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "swap", span: Span { start: Position { line: 74, column: 20, }, end: Position { line: 74, column: 24, }, }, }, ), ], span: Span { start: Position { line: 74, column: 19, }, end: Position { line: 74, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 75, column: 16, }, end: Position { line: 75, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 75, column: 22, }, end: Position { line: 75, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 76, column: 9, }, end: Position { line: 76, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 76, column: 23, }, end: Position { line: 76, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 76, column: 27, }, end: Position { line: 76, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Label of the device. Can be used instead of {var}`device`.\n", span: Span { start: Position { line: 77, column: 1, }, end: Position { line: 78, column: 9, }, }, }, ), ], span: Span { start: Position { line: 76, column: 33, }, end: Position { line: 78, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 73, column: 24, }, end: Position { line: 79, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "size", span: Span { start: Position { line: 81, column: 7, }, end: Position { line: 81, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 81, column: 14, }, end: Position { line: 81, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 82, column: 19, }, end: Position { line: 82, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 16, }, }, }, ), ], to: Integer( Integer { value: "2048", span: Span { start: Position { line: 83, column: 19, }, end: Position { line: 83, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 84, column: 16, }, end: Position { line: 84, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 84, column: 22, }, end: Position { line: 84, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 84, column: 29, }, end: Position { line: 84, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 84, column: 35, }, end: Position { line: 84, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 85, column: 23, }, end: Position { line: 85, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 85, column: 27, }, end: Position { line: 85, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "If this option is set, ‘device’ is interpreted as the\npath of a swapfile that will be created automatically\nwith the indicated size (in megabytes).\n", span: Span { start: Position { line: 86, column: 1, }, end: Position { line: 89, column: 9, }, }, }, ), ], span: Span { start: Position { line: 85, column: 33, }, end: Position { line: 89, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 81, column: 23, }, end: Position { line: 90, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "priority", span: Span { start: Position { line: 92, column: 7, }, end: Position { line: 92, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 92, column: 18, }, end: Position { line: 92, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 93, column: 19, }, end: Position { line: 93, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 94, column: 9, }, end: Position { line: 94, column: 16, }, }, }, ), ], to: Integer( Integer { value: "2048", span: Span { start: Position { line: 94, column: 19, }, end: Position { line: 94, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 95, column: 9, }, end: Position { line: 95, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 95, column: 16, }, end: Position { line: 95, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 95, column: 22, }, end: Position { line: 95, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 95, column: 29, }, end: Position { line: 95, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 95, column: 35, }, end: Position { line: 95, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 96, column: 9, }, end: Position { line: 96, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 96, column: 23, }, end: Position { line: 96, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 96, column: 27, }, end: Position { line: 96, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Specify the priority of the swap device. Priority is a value between 0 and 32767.\nHigher numbers indicate higher priority.\nnull lets the kernel choose a priority, which will show up as a negative value.\n", span: Span { start: Position { line: 97, column: 1, }, end: Position { line: 100, column: 9, }, }, }, ), ], span: Span { start: Position { line: 96, column: 33, }, end: Position { line: 100, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 92, column: 27, }, end: Position { line: 101, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 103, column: 26, }, end: Position { line: 103, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 104, column: 19, }, end: Position { line: 104, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 105, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 106, column: 11, }, end: Position { line: 106, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 106, column: 20, }, end: Position { line: 106, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cipher", span: Span { start: Position { line: 107, column: 11, }, end: Position { line: 107, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "serpent-xts-plain64", span: Span { start: Position { line: 107, column: 21, }, end: Position { line: 107, column: 40, }, }, }, ), ], span: Span { start: Position { line: 107, column: 20, }, end: Position { line: 107, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 108, column: 11, }, end: Position { line: 108, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/dev/random", span: Span { start: Position { line: 108, column: 21, }, end: Position { line: 108, column: 32, }, }, }, ), ], span: Span { start: Position { line: 108, column: 20, }, end: Position { line: 108, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 105, column: 19, }, end: Position { line: 109, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 110, column: 16, }, end: Position { line: 110, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coercedTo", span: Span { start: Position { line: 110, column: 22, }, end: Position { line: 110, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 110, column: 32, }, end: Position { line: 110, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 110, column: 38, }, end: Position { line: 110, column: 42, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "randomEncryptionCoerce", span: Span { start: Position { line: 110, column: 43, }, end: Position { line: 110, column: 65, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 110, column: 67, }, end: Position { line: 110, column: 72, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 110, column: 73, }, end: Position { line: 110, column: 82, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "randomEncryptionOpts", span: Span { start: Position { line: 110, column: 83, }, end: Position { line: 110, column: 103, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 111, column: 23, }, end: Position { line: 111, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 111, column: 27, }, end: Position { line: 111, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Encrypt swap device with a random key. This way you won't have a persistent swap device.\n\nHINT: run \"cryptsetup benchmark\" to test cipher performance on your machine.\n\nWARNING: Don't try to hibernate when you have at least one swap partition with\nthis option enabled! We have no way to set the partition into which hibernation image\nis saved, so if your image ends up on an encrypted one you would lose it!\n\nWARNING #2: Do not use /dev/disk/by-uuid/… or /dev/disk/by-label/… as your swap device\nwhen using randomEncryption as the UUIDs and labels will get erased on every boot when\nthe partition is encrypted. Best to use /dev/disk/by-partuuid/…\n", span: Span { start: Position { line: 112, column: 1, }, end: Position { line: 123, column: 9, }, }, }, ), ], span: Span { start: Position { line: 111, column: 33, }, end: Position { line: 123, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 103, column: 35, }, end: Position { line: 124, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "discardPolicy", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 126, column: 23, }, end: Position { line: 126, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 127, column: 9, }, end: Position { line: 127, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 127, column: 19, }, end: Position { line: 127, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 128, column: 9, }, end: Position { line: 128, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "once", span: Span { start: Position { line: 128, column: 20, }, end: Position { line: 128, column: 24, }, }, }, ), ], span: Span { start: Position { line: 128, column: 19, }, end: Position { line: 128, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 129, column: 9, }, end: Position { line: 129, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 129, column: 16, }, end: Position { line: 129, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 129, column: 22, }, end: Position { line: 129, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 129, column: 30, }, end: Position { line: 129, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 129, column: 36, }, end: Position { line: 129, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "once", span: Span { start: Position { line: 129, column: 43, }, end: Position { line: 129, column: 47, }, }, }, ), ], span: Span { start: Position { line: 129, column: 42, }, end: Position { line: 129, column: 48, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "pages", span: Span { start: Position { line: 129, column: 50, }, end: Position { line: 129, column: 55, }, }, }, ), ], span: Span { start: Position { line: 129, column: 49, }, end: Position { line: 129, column: 56, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "both", span: Span { start: Position { line: 129, column: 58, }, end: Position { line: 129, column: 62, }, }, }, ), ], span: Span { start: Position { line: 129, column: 57, }, end: Position { line: 129, column: 63, }, }, }, ), ], span: Span { start: Position { line: 129, column: 41, }, end: Position { line: 129, column: 65, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 130, column: 23, }, end: Position { line: 130, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 130, column: 27, }, end: Position { line: 130, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Specify the discard policy for the swap device. If \"once\", then the\nwhole swap space is discarded at swapon invocation. If \"pages\",\nasynchronous discard on freed pages is performed, before returning to\nthe available pages pool. With \"both\", both policies are activated.\nSee swapon(8) for more information.\n", span: Span { start: Position { line: 131, column: 1, }, end: Position { line: 136, column: 9, }, }, }, ), ], span: Span { start: Position { line: 130, column: 33, }, end: Position { line: 136, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 126, column: 32, }, end: Position { line: 137, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 139, column: 17, }, end: Position { line: 139, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 140, column: 9, }, end: Position { line: 140, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "defaults", span: Span { start: Position { line: 140, column: 22, }, end: Position { line: 140, column: 30, }, }, }, ), ], span: Span { start: Position { line: 140, column: 21, }, end: Position { line: 140, column: 31, }, }, }, ), ], span: Span { start: Position { line: 140, column: 19, }, end: Position { line: 140, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "nofail", span: Span { start: Position { line: 141, column: 22, }, end: Position { line: 141, column: 28, }, }, }, ), ], span: Span { start: Position { line: 141, column: 21, }, end: Position { line: 141, column: 29, }, }, }, ), ], span: Span { start: Position { line: 141, column: 19, }, end: Position { line: 141, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 142, column: 9, }, end: Position { line: 142, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 142, column: 16, }, end: Position { line: 142, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 142, column: 22, }, end: Position { line: 142, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 142, column: 29, }, end: Position { line: 142, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nonEmptyStr", span: Span { start: Position { line: 142, column: 35, }, end: Position { line: 142, column: 46, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 143, column: 23, }, end: Position { line: 143, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 143, column: 27, }, end: Position { line: 143, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Options used to mount the swap.\n", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 145, column: 9, }, }, }, ), ], span: Span { start: Position { line: 143, column: 33, }, end: Position { line: 145, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 139, column: 26, }, end: Position { line: 146, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "deviceName", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 148, column: 20, }, end: Position { line: 148, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 149, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 149, column: 16, }, end: Position { line: 149, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 149, column: 22, }, end: Position { line: 149, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 150, column: 20, }, end: Position { line: 150, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 148, column: 29, }, end: Position { line: 151, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "realDevice", span: Span { start: Position { line: 153, column: 7, }, end: Position { line: 153, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 153, column: 20, }, end: Position { line: 153, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 154, column: 9, }, end: Position { line: 154, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 154, column: 16, }, end: Position { line: 154, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 154, column: 22, }, end: Position { line: 154, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 155, column: 9, }, end: Position { line: 155, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 155, column: 20, }, end: Position { line: 155, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 153, column: 29, }, end: Position { line: 156, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 65, column: 15, }, end: Position { line: 158, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 160, column: 5, }, end: Position { line: 160, column: 11, }, }, }, ), ], to: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 161, column: 7, }, end: Position { line: 161, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 161, column: 16, }, end: Position { line: 161, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 161, column: 21, }, end: Position { line: 161, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "label", span: Span { start: Position { line: 161, column: 29, }, end: Position { line: 161, column: 34, }, }, }, ), Raw( PartRaw { content: "isDefined", span: Span { start: Position { line: 161, column: 35, }, end: Position { line: 161, column: 44, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/dev/disk/by-label/", span: Span { start: Position { line: 162, column: 10, }, end: Position { line: 162, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 162, column: 31, }, end: Position { line: 162, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "label", span: Span { start: Position { line: 162, column: 38, }, end: Position { line: 162, column: 43, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 162, column: 9, }, end: Position { line: 162, column: 45, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "deviceName", span: Span { start: Position { line: 163, column: 7, }, end: Position { line: 163, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 163, column: 20, }, end: Position { line: 163, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replaceChars", span: Span { start: Position { line: 163, column: 24, }, end: Position { line: 163, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "\\", span: Span { start: Position { line: 163, column: 39, }, end: Position { line: 163, column: 41, }, }, }, ), ], span: Span { start: Position { line: 163, column: 38, }, end: Position { line: 163, column: 42, }, }, }, ), ], span: Span { start: Position { line: 163, column: 37, }, end: Position { line: 163, column: 43, }, }, }, ), List( List { elements: [ String( String_ { parts: [], span: Span { start: Position { line: 163, column: 45, }, end: Position { line: 163, column: 47, }, }, }, ), ], span: Span { start: Position { line: 163, column: 44, }, end: Position { line: 163, column: 48, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeSystemdPath", span: Span { start: Position { line: 163, column: 50, }, end: Position { line: 163, column: 67, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 163, column: 68, }, end: Position { line: 163, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 163, column: 75, }, end: Position { line: 163, column: 81, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "realDevice", span: Span { start: Position { line: 164, column: 7, }, end: Position { line: 164, column: 17, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 164, column: 23, }, end: Position { line: 164, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 164, column: 30, }, end: Position { line: 164, column: 46, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 164, column: 47, }, end: Position { line: 164, column: 53, }, }, }, ), ], default: None, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "/dev/mapper/", span: Span { start: Position { line: 164, column: 60, }, end: Position { line: 164, column: 85, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "deviceName", span: Span { start: Position { line: 164, column: 74, }, end: Position { line: 164, column: 84, }, }, }, ), }, ), ], span: Span { start: Position { line: 164, column: 59, }, end: Position { line: 164, column: 86, }, }, }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 164, column: 92, }, end: Position { line: 164, column: 98, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 164, column: 99, }, end: Position { line: 164, column: 105, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 164, column: 20, }, end: Position { line: 164, column: 105, }, }, }, ), }, ), ], span: Span { start: Position { line: 160, column: 14, }, end: Position { line: 165, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 63, column: 37, }, end: Position { line: 167, column: 4, }, }, }, ), span: Span { start: Position { line: 63, column: 13, }, end: Position { line: 167, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 175, column: 3, }, end: Position { line: 175, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "swapDevices", span: Span { start: Position { line: 177, column: 5, }, end: Position { line: 177, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 177, column: 19, }, end: Position { line: 177, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 178, column: 7, }, end: Position { line: 178, column: 14, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 178, column: 17, }, end: Position { line: 178, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 14, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 180, column: 11, }, end: Position { line: 180, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/dev/hda7", span: Span { start: Position { line: 180, column: 21, }, end: Position { line: 180, column: 30, }, }, }, ), ], span: Span { start: Position { line: 180, column: 20, }, end: Position { line: 180, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 180, column: 9, }, end: Position { line: 180, column: 34, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 181, column: 11, }, end: Position { line: 181, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/swapfile", span: Span { start: Position { line: 181, column: 21, }, end: Position { line: 181, column: 34, }, }, }, ), ], span: Span { start: Position { line: 181, column: 20, }, end: Position { line: 181, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 38, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "label", span: Span { start: Position { line: 182, column: 11, }, end: Position { line: 182, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "bigswap", span: Span { start: Position { line: 182, column: 20, }, end: Position { line: 182, column: 27, }, }, }, ), ], span: Span { start: Position { line: 182, column: 19, }, end: Position { line: 182, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 182, column: 9, }, end: Position { line: 182, column: 31, }, }, }, ), ], span: Span { start: Position { line: 179, column: 17, }, end: Position { line: 183, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 184, column: 7, }, end: Position { line: 184, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 184, column: 21, }, end: Position { line: 184, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 184, column: 25, }, end: Position { line: 184, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The swap devices and swap files. These must have been\ninitialised using {command}`mkswap`. Each element\nshould be an attribute set specifying either the path of the\nswap device or file (`device`) or the label\nof the swap device (`label`, see\n{command}`mkswap -L`). Using a label is\nrecommended.\n", span: Span { start: Position { line: 185, column: 1, }, end: Position { line: 192, column: 7, }, }, }, ), ], span: Span { start: Position { line: 184, column: 31, }, end: Position { line: 192, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 194, column: 7, }, end: Position { line: 194, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 194, column: 14, }, end: Position { line: 194, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 194, column: 20, }, end: Position { line: 194, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 194, column: 28, }, end: Position { line: 194, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 194, column: 34, }, end: Position { line: 194, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "swapCfg", span: Span { start: Position { line: 194, column: 44, }, end: Position { line: 194, column: 51, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 177, column: 28, }, end: Position { line: 195, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 175, column: 13, }, end: Position { line: 197, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 199, column: 3, }, end: Position { line: 199, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 199, column: 12, }, end: Position { line: 199, column: 16, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "length", span: Span { start: Position { line: 199, column: 19, }, end: Position { line: 199, column: 25, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 199, column: 26, }, end: Position { line: 199, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "swapDevices", span: Span { start: Position { line: 199, column: 33, }, end: Position { line: 199, column: 44, }, }, }, ), ], default: None, }, ), ], }, ), operator: NotEqualTo, right: Integer( Integer { value: "0", span: Span { start: Position { line: 199, column: 49, }, end: Position { line: 199, column: 50, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 201, column: 5, }, end: Position { line: 201, column: 11, }, }, }, ), Raw( PartRaw { content: "requiredKernelConfig", span: Span { start: Position { line: 201, column: 12, }, end: Position { line: 201, column: 32, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 201, column: 40, }, end: Position { line: 201, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 201, column: 47, }, end: Position { line: 201, column: 50, }, }, }, ), Raw( PartRaw { content: "kernelConfig", span: Span { start: Position { line: 201, column: 51, }, end: Position { line: 201, column: 63, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isYes", span: Span { start: Position { line: 202, column: 8, }, end: Position { line: 202, column: 13, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "SWAP", span: Span { start: Position { line: 202, column: 15, }, end: Position { line: 202, column: 19, }, }, }, ), ], span: Span { start: Position { line: 202, column: 14, }, end: Position { line: 202, column: 20, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 201, column: 65, }, end: Position { line: 203, column: 6, }, }, }, ), span: Span { start: Position { line: 201, column: 35, }, end: Position { line: 203, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 206, column: 5, }, end: Position { line: 206, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 206, column: 13, }, end: Position { line: 206, column: 21, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createSwapDevice", span: Span { start: Position { line: 209, column: 9, }, end: Position { line: 209, column: 25, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "sw", }, ), body: Assert( Assert { expression: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 210, column: 18, }, end: Position { line: 210, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 210, column: 21, }, end: Position { line: 210, column: 27, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 210, column: 31, }, end: Position { line: 210, column: 33, }, }, }, ), }, ), target: Assert( Assert { expression: UnaryOperation( UnaryOperation { operator: Not, operand: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 211, column: 20, }, end: Position { line: 211, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 211, column: 23, }, end: Position { line: 211, column: 39, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 211, column: 40, }, end: Position { line: 211, column: 46, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 211, column: 50, }, end: Position { line: 211, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hasPrefix", span: Span { start: Position { line: 211, column: 54, }, end: Position { line: 211, column: 63, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/dev/disk/by-uuid", span: Span { start: Position { line: 211, column: 65, }, end: Position { line: 211, column: 82, }, }, }, ), ], span: Span { start: Position { line: 211, column: 64, }, end: Position { line: 211, column: 83, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 211, column: 85, }, end: Position { line: 211, column: 87, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 211, column: 88, }, end: Position { line: 211, column: 94, }, }, }, ), ], default: None, }, ), ], }, ), }, ), span: Span { start: Position { line: 211, column: 18, }, end: Position { line: 211, column: 95, }, }, }, ), target: Assert( Assert { expression: UnaryOperation( UnaryOperation { operator: Not, operand: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 212, column: 20, }, end: Position { line: 212, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 212, column: 23, }, end: Position { line: 212, column: 39, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 212, column: 40, }, end: Position { line: 212, column: 46, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 212, column: 50, }, end: Position { line: 212, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hasPrefix", span: Span { start: Position { line: 212, column: 54, }, end: Position { line: 212, column: 63, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/dev/disk/by-label", span: Span { start: Position { line: 212, column: 65, }, end: Position { line: 212, column: 83, }, }, }, ), ], span: Span { start: Position { line: 212, column: 64, }, end: Position { line: 212, column: 84, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 212, column: 85, }, end: Position { line: 212, column: 87, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 212, column: 88, }, end: Position { line: 212, column: 94, }, }, }, ), ], default: None, }, ), ], }, ), }, ), span: Span { start: Position { line: 212, column: 18, }, end: Position { line: 212, column: 95, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "realDevice'", span: Span { start: Position { line: 213, column: 15, }, end: Position { line: 213, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeSystemdPath", span: Span { start: Position { line: 213, column: 29, }, end: Position { line: 213, column: 46, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 213, column: 47, }, end: Position { line: 213, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "realDevice", span: Span { start: Position { line: 213, column: 50, }, end: Position { line: 213, column: 60, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 214, column: 14, }, end: Position { line: 214, column: 27, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "mkswap-", span: Span { start: Position { line: 214, column: 29, }, end: Position { line: 214, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 214, column: 38, }, end: Position { line: 214, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "deviceName", span: Span { start: Position { line: 214, column: 41, }, end: Position { line: 214, column: 51, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 214, column: 28, }, end: Position { line: 214, column: 53, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 215, column: 13, }, end: Position { line: 215, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Initialisation of swap device ", span: Span { start: Position { line: 215, column: 28, }, end: Position { line: 215, column: 70, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 215, column: 60, }, end: Position { line: 215, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 215, column: 63, }, end: Position { line: 215, column: 69, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 215, column: 27, }, end: Position { line: 215, column: 71, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 216, column: 13, }, end: Position { line: 216, column: 21, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "realDevice'", span: Span { start: Position { line: 216, column: 29, }, end: Position { line: 216, column: 40, }, }, }, ), }, ), Raw( PartRaw { content: ".swap", span: Span { start: Position { line: 216, column: 27, }, end: Position { line: 216, column: 46, }, }, }, ), ], span: Span { start: Position { line: 216, column: 26, }, end: Position { line: 216, column: 47, }, }, }, ), ], span: Span { start: Position { line: 216, column: 24, }, end: Position { line: 216, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "before", span: Span { start: Position { line: 217, column: 13, }, end: Position { line: 217, column: 19, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "realDevice'", span: Span { start: Position { line: 217, column: 27, }, end: Position { line: 217, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: ".swap", span: Span { start: Position { line: 217, column: 25, }, end: Position { line: 217, column: 44, }, }, }, ), ], span: Span { start: Position { line: 217, column: 24, }, end: Position { line: 217, column: 45, }, }, }, ), ], span: Span { start: Position { line: 217, column: 22, }, end: Position { line: 217, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 218, column: 13, }, end: Position { line: 218, column: 17, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 218, column: 22, }, end: Position { line: 218, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "util-linux", span: Span { start: Position { line: 218, column: 27, }, end: Position { line: 218, column: 37, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 218, column: 20, }, end: Position { line: 218, column: 39, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 218, column: 43, }, end: Position { line: 218, column: 51, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 218, column: 52, }, end: Position { line: 218, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 218, column: 55, }, end: Position { line: 218, column: 71, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 218, column: 72, }, end: Position { line: 218, column: 78, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 218, column: 79, }, end: Position { line: 218, column: 83, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cryptsetup", span: Span { start: Position { line: 218, column: 84, }, end: Position { line: 218, column: 94, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 220, column: 13, }, end: Position { line: 220, column: 19, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 222, column: 1, }, end: Position { line: 222, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 222, column: 19, }, end: Position { line: 222, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 222, column: 35, }, end: Position { line: 222, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "size", span: Span { start: Position { line: 222, column: 38, }, end: Position { line: 222, column: 42, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 222, column: 46, }, end: Position { line: 222, column: 50, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "currentSize=$(( $(stat -c \"%s\" \"", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 223, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 223, column: 53, }, end: Position { line: 223, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 223, column: 56, }, end: Position { line: 223, column: 62, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" 2>/dev/null || echo 0) / 1024 / 1024 ))\nif [ \"", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 224, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 224, column: 27, }, end: Position { line: 224, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 224, column: 36, }, end: Position { line: 224, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "size", span: Span { start: Position { line: 224, column: 39, }, end: Position { line: 224, column: 43, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\" != \"$currentSize\" ]; then\n dd if=/dev/zero of=\"", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 225, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 225, column: 43, }, end: Position { line: 225, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 225, column: 46, }, end: Position { line: 225, column: 52, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" bs=1M count=", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 225, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 225, column: 69, }, end: Position { line: 225, column: 77, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 225, column: 78, }, end: Position { line: 225, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "size", span: Span { start: Position { line: 225, column: 81, }, end: Position { line: 225, column: 85, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n chmod 0600 ", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 226, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 226, column: 34, }, end: Position { line: 226, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 226, column: 37, }, end: Position { line: 226, column: 43, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 227, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 227, column: 23, }, end: Position { line: 227, column: 37, }, }, }, ), arguments: [ UnaryOperation( UnaryOperation { operator: Not, operand: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 227, column: 40, }, end: Position { line: 227, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 227, column: 43, }, end: Position { line: 227, column: 59, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 227, column: 60, }, end: Position { line: 227, column: 66, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 227, column: 39, }, end: Position { line: 227, column: 66, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "mkswap ", span: Span { start: Position { line: 227, column: 69, }, end: Position { line: 227, column: 92, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 227, column: 78, }, end: Position { line: 227, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "realDevice", span: Span { start: Position { line: 227, column: 81, }, end: Position { line: 227, column: 91, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 227, column: 68, }, end: Position { line: 227, column: 93, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nfi\n", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 229, column: 17, }, }, }, ), ], span: Span { start: Position { line: 222, column: 52, }, end: Position { line: 229, column: 19, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 222, column: 1, }, end: Position { line: 230, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 230, column: 19, }, end: Position { line: 230, column: 33, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 230, column: 34, }, end: Position { line: 230, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 230, column: 37, }, end: Position { line: 230, column: 53, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 230, column: 54, }, end: Position { line: 230, column: 60, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cryptsetup plainOpen -c ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 231, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 231, column: 45, }, end: Position { line: 231, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 231, column: 48, }, end: Position { line: 231, column: 64, }, }, }, ), Raw( PartRaw { content: "cipher", span: Span { start: Position { line: 231, column: 65, }, end: Position { line: 231, column: 71, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -d ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 231, column: 76, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 231, column: 78, }, end: Position { line: 231, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 231, column: 81, }, end: Position { line: 231, column: 97, }, }, }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 231, column: 98, }, end: Position { line: 231, column: 104, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 232, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 232, column: 23, }, end: Position { line: 232, column: 37, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 232, column: 38, }, end: Position { line: 232, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 232, column: 41, }, end: Position { line: 232, column: 57, }, }, }, ), Raw( PartRaw { content: "allowDiscards", span: Span { start: Position { line: 232, column: 58, }, end: Position { line: 232, column: 71, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--allow-discards", span: Span { start: Position { line: 232, column: 73, }, end: Position { line: 232, column: 89, }, }, }, ), ], span: Span { start: Position { line: 232, column: 72, }, end: Position { line: 232, column: 90, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 232, column: 92, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 232, column: 94, }, end: Position { line: 232, column: 96, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 232, column: 97, }, end: Position { line: 232, column: 103, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 232, column: 105, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 232, column: 107, }, end: Position { line: 232, column: 109, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "deviceName", span: Span { start: Position { line: 232, column: 110, }, end: Position { line: 232, column: 120, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nmkswap ", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 233, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 233, column: 28, }, end: Position { line: 233, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "realDevice", span: Span { start: Position { line: 233, column: 31, }, end: Position { line: 233, column: 41, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 231, column: 1, }, end: Position { line: 234, column: 17, }, }, }, ), ], span: Span { start: Position { line: 230, column: 61, }, end: Position { line: 234, column: 19, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 222, column: 1, }, end: Position { line: 235, column: 15, }, }, }, ), ], span: Span { start: Position { line: 221, column: 15, }, end: Position { line: 235, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 237, column: 13, }, end: Position { line: 237, column: 23, }, }, }, ), Raw( PartRaw { content: "RequiresMountsFor", span: Span { start: Position { line: 237, column: 24, }, end: Position { line: 237, column: 41, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "dirOf", span: Span { start: Position { line: 237, column: 49, }, end: Position { line: 237, column: 54, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 237, column: 55, }, end: Position { line: 237, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 237, column: 58, }, end: Position { line: 237, column: 64, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 237, column: 46, }, end: Position { line: 237, column: 66, }, }, }, ), ], span: Span { start: Position { line: 237, column: 44, }, end: Position { line: 237, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 238, column: 13, }, end: Position { line: 238, column: 23, }, }, }, ), Raw( PartRaw { content: "DefaultDependencies", span: Span { start: Position { line: 238, column: 24, }, end: Position { line: 238, column: 43, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 238, column: 46, }, end: Position { line: 238, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 239, column: 13, }, end: Position { line: 239, column: 26, }, }, }, ), Raw( PartRaw { content: "Type", span: Span { start: Position { line: 239, column: 27, }, end: Position { line: 239, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 239, column: 35, }, end: Position { line: 239, column: 42, }, }, }, ), ], span: Span { start: Position { line: 239, column: 34, }, end: Position { line: 239, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 240, column: 13, }, end: Position { line: 240, column: 26, }, }, }, ), Raw( PartRaw { content: "RemainAfterExit", span: Span { start: Position { line: 240, column: 27, }, end: Position { line: 240, column: 42, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 240, column: 45, }, end: Position { line: 240, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 240, column: 48, }, end: Position { line: 240, column: 64, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 240, column: 65, }, end: Position { line: 240, column: 71, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 241, column: 13, }, end: Position { line: 241, column: 26, }, }, }, ), Raw( PartRaw { content: "ExecStop", span: Span { start: Position { line: 241, column: 27, }, end: Position { line: 241, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 241, column: 38, }, end: Position { line: 241, column: 52, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 241, column: 53, }, end: Position { line: 241, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 241, column: 56, }, end: Position { line: 241, column: 72, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 241, column: 73, }, end: Position { line: 241, column: 79, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 241, column: 83, }, end: Position { line: 241, column: 87, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cryptsetup", span: Span { start: Position { line: 241, column: 88, }, end: Position { line: 241, column: 98, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/cryptsetup luksClose ", span: Span { start: Position { line: 241, column: 81, }, end: Position { line: 241, column: 125, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 241, column: 127, }, end: Position { line: 241, column: 129, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "deviceName", span: Span { start: Position { line: 241, column: 130, }, end: Position { line: 241, column: 140, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 241, column: 80, }, end: Position { line: 241, column: 142, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartIfChanged", span: Span { start: Position { line: 242, column: 13, }, end: Position { line: 242, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 242, column: 32, }, end: Position { line: 242, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 215, column: 11, }, end: Position { line: 243, column: 12, }, }, }, ), ], }, ), span: Span { start: Position { line: 213, column: 11, }, end: Position { line: 243, column: 12, }, }, }, ), span: Span { start: Position { line: 212, column: 11, }, end: Position { line: 243, column: 12, }, }, }, ), span: Span { start: Position { line: 211, column: 11, }, end: Position { line: 243, column: 12, }, }, }, ), span: Span { start: Position { line: 210, column: 11, }, end: Position { line: 243, column: 12, }, }, }, ), span: Span { start: Position { line: 209, column: 28, }, end: Position { line: 243, column: 12, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 245, column: 10, }, end: Position { line: 245, column: 21, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 245, column: 23, }, end: Position { line: 245, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "createSwapDevice", span: Span { start: Position { line: 245, column: 27, }, end: Position { line: 245, column: 43, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filter", span: Span { start: Position { line: 245, column: 45, }, end: Position { line: 245, column: 51, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "sw", }, ), body: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 245, column: 57, }, end: Position { line: 245, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "size", span: Span { start: Position { line: 245, column: 60, }, end: Position { line: 245, column: 64, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 245, column: 68, }, end: Position { line: 245, column: 72, }, }, }, ), }, ), operator: LogicalOr, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "sw", span: Span { start: Position { line: 245, column: 76, }, end: Position { line: 245, column: 78, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "randomEncryption", span: Span { start: Position { line: 245, column: 79, }, end: Position { line: 245, column: 95, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 245, column: 96, }, end: Position { line: 245, column: 102, }, }, }, ), ], default: None, }, ), }, ), span: Span { start: Position { line: 245, column: 53, }, end: Position { line: 245, column: 102, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 245, column: 104, }, end: Position { line: 245, column: 110, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "swapDevices", span: Span { start: Position { line: 245, column: 111, }, end: Position { line: 245, column: 122, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 207, column: 7, }, end: Position { line: 245, column: 124, }, }, }, ), }, ), ], span: Span { start: Position { line: 199, column: 52, }, end: Position { line: 247, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 171, column: 1, }, end: Position { line: 249, column: 2, }, }, }, ), span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 249, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 249, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 249, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 249, column: 2, }, }, }, )