Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 7, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 16, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 7, column: 21, }, end: Position { line: 7, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "joachifm", span: Span { start: Position { line: 7, column: 33, }, end: Position { line: 7, column: 41, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 7, column: 19, }, end: Position { line: 7, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 6, column: 10, }, end: Position { line: 8, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 13, }, }, }, ), Raw( PartRaw { content: "lockKernelModules", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 11, column: 34, }, end: Position { line: 11, column: 42, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 12, column: 20, }, end: Position { line: 12, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 13, column: 17, }, end: Position { line: 13, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 14, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 14, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Disable kernel module loading once the system is fully initialised.\nModule loading is disabled until the next reboot. Problems caused\nby delayed module loading can be fixed by adding the module(s) in\nquestion to {option}`boot.kernelModules`.\n", span: Span { start: Position { line: 15, column: 1, }, end: Position { line: 19, column: 7, }, }, }, ), ], span: Span { start: Position { line: 14, column: 31, }, end: Position { line: 19, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 43, }, end: Position { line: 20, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 13, }, end: Position { line: 21, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 23, column: 17, }, end: Position { line: 23, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 23, column: 24, }, end: Position { line: 23, column: 32, }, }, }, ), Raw( PartRaw { content: "lockKernelModules", span: Span { start: Position { line: 23, column: 33, }, end: Position { line: 23, column: 50, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 9, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 24, column: 10, }, end: Position { line: 24, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMap", span: Span { start: Position { line: 24, column: 26, }, end: Position { line: 24, column: 35, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 25, column: 10, }, end: Position { line: 25, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 25, column: 12, }, end: Position { line: 25, column: 18, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 25, column: 22, }, end: Position { line: 25, column: 26, }, }, }, ), }, ), then: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 27, column: 14, }, end: Position { line: 27, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fsType", span: Span { start: Position { line: 27, column: 16, }, end: Position { line: 27, column: 22, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "vfat", span: Span { start: Position { line: 27, column: 27, }, end: Position { line: 27, column: 31, }, }, }, ), ], span: Span { start: Position { line: 27, column: 26, }, end: Position { line: 27, column: 32, }, }, }, ), }, ), then: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "vfat", span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 28, column: 25, }, }, }, ), ], span: Span { start: Position { line: 28, column: 20, }, end: Position { line: 28, column: 26, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nls-cp437", span: Span { start: Position { line: 28, column: 28, }, end: Position { line: 28, column: 37, }, }, }, ), ], span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 38, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nls-iso8859-1", span: Span { start: Position { line: 28, column: 40, }, end: Position { line: 28, column: 53, }, }, }, ), ], span: Span { start: Position { line: 28, column: 39, }, end: Position { line: 28, column: 54, }, }, }, ), ], span: Span { start: Position { line: 28, column: 18, }, end: Position { line: 28, column: 56, }, }, }, ), else_: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 29, column: 20, }, end: Position { line: 29, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fsType", span: Span { start: Position { line: 29, column: 22, }, end: Position { line: 29, column: 28, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 29, column: 18, }, end: Position { line: 29, column: 30, }, }, }, ), span: Span { start: Position { line: 27, column: 11, }, end: Position { line: 29, column: 30, }, }, }, ), else_: List( List { elements: [], span: Span { start: Position { line: 30, column: 14, }, end: Position { line: 30, column: 16, }, }, }, ), span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 30, column: 16, }, }, }, ), span: Span { start: Position { line: 24, column: 37, }, end: Position { line: 30, column: 16, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 30, column: 18, }, end: Position { line: 30, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 30, column: 25, }, end: Position { line: 30, column: 31, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 30, column: 32, }, end: Position { line: 30, column: 37, }, }, }, ), Raw( PartRaw { content: "fileSystems", span: Span { start: Position { line: 30, column: 38, }, end: Position { line: 30, column: 49, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 32, column: 13, }, end: Position { line: 32, column: 21, }, }, }, ), Raw( PartRaw { content: "disable-kernel-module-loading", span: Span { start: Position { line: 32, column: 22, }, end: Position { line: 32, column: 51, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Disable kernel module loading", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 51, }, }, }, ), ], span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 33, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wants", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "systemd-udevd.service", span: Span { start: Position { line: 35, column: 18, }, end: Position { line: 35, column: 39, }, }, }, ), ], span: Span { start: Position { line: 35, column: 17, }, end: Position { line: 35, column: 40, }, }, }, ), ], span: Span { start: Position { line: 35, column: 15, }, end: Position { line: 35, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 15, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 36, column: 20, }, end: Position { line: 36, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 36, column: 27, }, end: Position { line: 36, column: 34, }, }, }, ), Raw( PartRaw { content: "defaultUnit", span: Span { start: Position { line: 36, column: 35, }, end: Position { line: 36, column: 46, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 36, column: 18, }, end: Position { line: 36, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "firewall.service", span: Span { start: Position { line: 39, column: 12, }, end: Position { line: 39, column: 28, }, }, }, ), ], span: Span { start: Position { line: 39, column: 11, }, end: Position { line: 39, column: 29, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "systemd-modules-load.service", span: Span { start: Position { line: 40, column: 12, }, end: Position { line: 40, column: 40, }, }, }, ), ], span: Span { start: Position { line: 40, column: 11, }, end: Position { line: 40, column: 41, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 41, column: 12, }, end: Position { line: 41, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 41, column: 19, }, end: Position { line: 41, column: 26, }, }, }, ), Raw( PartRaw { content: "defaultUnit", span: Span { start: Position { line: 41, column: 27, }, end: Position { line: 41, column: 38, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 42, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 17, }, }, }, ), Raw( PartRaw { content: "ConditionPathIsReadWrite", span: Span { start: Position { line: 44, column: 18, }, end: Position { line: 44, column: 42, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/proc/sys/kernel", span: Span { start: Position { line: 44, column: 46, }, end: Position { line: 44, column: 62, }, }, }, ), ], span: Span { start: Position { line: 44, column: 45, }, end: Position { line: 44, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 47, column: 11, }, end: Position { line: 47, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 26, }, }, }, ), ], span: Span { start: Position { line: 47, column: 18, }, end: Position { line: 47, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RemainAfterExit", span: Span { start: Position { line: 48, column: 11, }, end: Position { line: 48, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 48, column: 29, }, end: Position { line: 48, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "TimeoutSec", span: Span { start: Position { line: 49, column: 11, }, end: Position { line: 49, column: 21, }, }, }, ), ], to: Integer( Integer { value: "180", span: Span { start: Position { line: 49, column: 24, }, end: Position { line: 49, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 50, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 53, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 53, column: 11, }, end: Position { line: 53, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "udev", span: Span { start: Position { line: 53, column: 16, }, end: Position { line: 53, column: 20, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/udevadm settle\necho -n 1 >/proc/sys/kernel/modules_disabled\n", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 55, column: 7, }, }, }, ), ], span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 55, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 54, }, end: Position { line: 56, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 23, column: 51, }, end: Position { line: 57, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 58, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 58, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 58, column: 2, }, }, }, )