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: 4, column: 6, }, end: Position { line: 4, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), ], to: List( List { elements: [ Path( Path { parts: [ Raw( PartRaw { content: "../installer/scan/detected.nix", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 37, }, }, }, ), ], span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 37, }, }, }, ), Path( Path { parts: [ Raw( PartRaw { content: "../installer/scan/not-detected.nix", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 41, }, }, }, ), ], span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 41, }, }, }, ), Path( Path { parts: [ Raw( PartRaw { content: "./clone-config.nix", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 25, }, }, }, ), ], span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 25, }, }, }, ), Path( Path { parts: [ Raw( PartRaw { content: "../installer/cd-dvd/channel.nix", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 38, }, }, }, ), ], span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 38, }, }, }, ), ], span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 20, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "documentation", span: Span { start: Position { line: 25, column: 5, }, end: Position { line: 25, column: 18, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 25, column: 19, }, end: Position { line: 25, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkImageMediaOverride", span: Span { start: Position { line: 25, column: 28, }, end: Position { line: 25, column: 48, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 25, column: 49, }, end: Position { line: 25, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "documentation", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 18, }, }, }, ), Raw( PartRaw { content: "nixos", span: Span { start: Position { line: 28, column: 19, }, end: Position { line: 28, column: 24, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 28, column: 25, }, end: Position { line: 28, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkImageMediaOverride", span: Span { start: Position { line: 28, column: 34, }, end: Position { line: 28, column: 54, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 28, column: 55, }, end: Position { line: 28, column: 59, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 31, column: 11, }, end: Position { line: 31, column: 16, }, }, }, ), Raw( PartRaw { content: "nixos", span: Span { start: Position { line: 31, column: 17, }, end: Position { line: 31, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isNormalUser", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 32, column: 22, }, end: Position { line: 32, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 18, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "wheel", span: Span { start: Position { line: 33, column: 24, }, end: Position { line: 33, column: 29, }, }, }, ), ], span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 33, column: 30, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "networkmanager", span: Span { start: Position { line: 33, column: 32, }, end: Position { line: 33, column: 46, }, }, }, ), ], span: Span { start: Position { line: 33, column: 31, }, end: Position { line: 33, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "video", span: Span { start: Position { line: 33, column: 49, }, end: Position { line: 33, column: 54, }, }, }, ), ], span: Span { start: Position { line: 33, column: 48, }, end: Position { line: 33, column: 55, }, }, }, ), ], span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 33, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initialHashedPassword", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 28, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 35, column: 31, }, end: Position { line: 35, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 31, column: 25, }, end: Position { line: 36, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 39, column: 11, }, end: Position { line: 39, column: 16, }, }, }, ), Raw( PartRaw { content: "root", span: Span { start: Position { line: 39, column: 17, }, end: Position { line: 39, column: 21, }, }, }, ), Raw( PartRaw { content: "initialHashedPassword", span: Span { start: Position { line: 39, column: 22, }, end: Position { line: 39, column: 43, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 39, column: 46, }, end: Position { line: 39, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 42, column: 5, }, end: Position { line: 42, column: 13, }, }, }, ), Raw( PartRaw { content: "sudo", span: Span { start: Position { line: 42, column: 14, }, end: Position { line: 42, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 43, column: 16, }, end: Position { line: 43, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 43, column: 26, }, end: Position { line: 43, column: 30, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wheelNeedsPassword", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkImageMediaOverride", span: Span { start: Position { line: 44, column: 28, }, end: Position { line: 44, column: 48, }, }, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 44, column: 49, }, end: Position { line: 44, column: 54, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 42, column: 21, }, end: Position { line: 45, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 13, }, }, }, ), Raw( PartRaw { content: "getty", span: Span { start: Position { line: 48, column: 14, }, end: Position { line: 48, column: 19, }, }, }, ), Raw( PartRaw { content: "autologinUser", span: Span { start: Position { line: 48, column: 20, }, end: Position { line: 48, column: 33, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nixos", span: Span { start: Position { line: 48, column: 37, }, end: Position { line: 48, column: 42, }, }, }, ), ], span: Span { start: Position { line: 48, column: 36, }, end: Position { line: 48, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 51, column: 5, }, end: Position { line: 51, column: 13, }, }, }, ), Raw( PartRaw { content: "getty", span: Span { start: Position { line: 51, column: 14, }, end: Position { line: 51, column: 19, }, }, }, ), Raw( PartRaw { content: "helpLine", span: Span { start: Position { line: 51, column: 20, }, end: Position { line: 51, column: 28, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The \"nixos\" and \"root\" accounts have empty passwords.\n\nAn ssh daemon is running. You then must set a password\nfor either \"root\" or \"nixos\" with `passwd` or add an ssh key\nto /home/nixos/.ssh/authorized_keys be able to login.\n\nIf you need a wireless connection, type\n`sudo systemctl start wpa_supplicant` and configure a\nnetwork using `wpa_cli`. See the NixOS manual for details.\n", span: Span { start: Position { line: 52, column: 1, }, end: Position { line: 61, column: 5, }, }, }, ), ], span: Span { start: Position { line: 51, column: 31, }, end: Position { line: 61, column: 7, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 61, column: 10, }, end: Position { line: 61, column: 24, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 61, column: 25, }, end: Position { line: 61, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 61, column: 32, }, end: Position { line: 61, column: 40, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 61, column: 41, }, end: Position { line: 61, column: 48, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 61, column: 49, }, end: Position { line: 61, column: 55, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\nType `sudo systemctl start display-manager' to\nstart the graphical user interface.\n", span: Span { start: Position { line: 62, column: 1, }, end: Position { line: 65, column: 5, }, }, }, ), ], span: Span { start: Position { line: 61, column: 56, }, end: Position { line: 65, column: 7, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 72, column: 5, }, end: Position { line: 72, column: 13, }, }, }, ), Raw( PartRaw { content: "openssh", span: Span { start: Position { line: 72, column: 14, }, end: Position { line: 72, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 73, column: 16, }, end: Position { line: 73, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "permitRootLogin", span: Span { start: Position { line: 74, column: 7, }, end: Position { line: 74, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "yes", span: Span { start: Position { line: 74, column: 26, }, end: Position { line: 74, column: 29, }, }, }, ), ], span: Span { start: Position { line: 74, column: 25, }, end: Position { line: 74, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 72, column: 24, }, end: Position { line: 75, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 78, column: 5, }, end: Position { line: 78, column: 15, }, }, }, ), Raw( PartRaw { content: "wireless", span: Span { start: Position { line: 78, column: 16, }, end: Position { line: 78, column: 24, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 78, column: 25, }, end: Position { line: 78, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 78, column: 34, }, end: Position { line: 78, column: 43, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 78, column: 44, }, end: Position { line: 78, column: 48, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 79, column: 5, }, end: Position { line: 79, column: 15, }, }, }, ), Raw( PartRaw { content: "wireless", span: Span { start: Position { line: 79, column: 16, }, end: Position { line: 79, column: 24, }, }, }, ), Raw( PartRaw { content: "userControlled", span: Span { start: Position { line: 79, column: 25, }, end: Position { line: 79, column: 39, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 79, column: 40, }, end: Position { line: 79, column: 46, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 79, column: 49, }, end: Position { line: 79, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 80, column: 5, }, end: Position { line: 80, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 80, column: 13, }, end: Position { line: 80, column: 21, }, }, }, ), Raw( PartRaw { content: "wpa_supplicant", span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 36, }, }, }, ), Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 80, column: 37, }, end: Position { line: 80, column: 45, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 80, column: 48, }, end: Position { line: 80, column: 58, }, }, }, ), arguments: [ Integer( Integer { value: "50", span: Span { start: Position { line: 80, column: 59, }, end: Position { line: 80, column: 61, }, }, }, ), List( List { elements: [], span: Span { start: Position { line: 80, column: 62, }, end: Position { line: 80, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 85, column: 5, }, end: Position { line: 85, column: 16, }, }, }, ), Raw( PartRaw { content: "variables", span: Span { start: Position { line: 85, column: 17, }, end: Position { line: 85, column: 26, }, }, }, ), Raw( PartRaw { content: "GC_INITIAL_HEAP_SIZE", span: Span { start: Position { line: 85, column: 27, }, end: Position { line: 85, column: 47, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "1M", span: Span { start: Position { line: 85, column: 51, }, end: Position { line: 85, column: 53, }, }, }, ), ], span: Span { start: Position { line: 85, column: 50, }, end: Position { line: 85, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 92, column: 5, }, end: Position { line: 92, column: 9, }, }, }, ), Raw( PartRaw { content: "kernel", span: Span { start: Position { line: 92, column: 10, }, end: Position { line: 92, column: 16, }, }, }, ), Raw( PartRaw { content: "sysctl", span: Span { start: Position { line: 92, column: 17, }, end: Position { line: 92, column: 23, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "vm.overcommit_memory", span: Span { start: Position { line: 92, column: 25, }, end: Position { line: 92, column: 45, }, }, }, ), ], span: Span { start: Position { line: 92, column: 24, }, end: Position { line: 92, column: 46, }, }, }, ), }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "1", span: Span { start: Position { line: 92, column: 50, }, end: Position { line: 92, column: 51, }, }, }, ), ], span: Span { start: Position { line: 92, column: 49, }, end: Position { line: 92, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 96, column: 5, }, end: Position { line: 96, column: 11, }, }, }, ), Raw( PartRaw { content: "extraDependencies", span: Span { start: Position { line: 96, column: 12, }, end: Position { line: 96, column: 29, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 96, column: 37, }, end: Position { line: 96, column: 41, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "stdenv", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 15, }, }, }, ), Identifier( Identifier { id: "stdenvNoCC", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 19, }, }, }, ), Identifier( Identifier { id: "busybox", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 16, }, }, }, ), Identifier( Identifier { id: "jq", span: Span { start: Position { line: 101, column: 9, }, end: Position { line: 101, column: 11, }, }, }, ), Identifier( Identifier { id: "makeInitrdNGTool", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 25, }, }, }, ), Identifier( Identifier { id: "systemdStage1", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 22, }, }, }, ), Identifier( Identifier { id: "systemdStage1Network", span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 105, column: 29, }, }, }, ), ], span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 106, column: 8, }, }, }, ), span: Span { start: Position { line: 96, column: 32, }, end: Position { line: 106, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 111, column: 5, }, end: Position { line: 111, column: 15, }, }, }, ), Raw( PartRaw { content: "firewall", span: Span { start: Position { line: 111, column: 16, }, end: Position { line: 111, column: 24, }, }, }, ), Raw( PartRaw { content: "logRefusedConnections", span: Span { start: Position { line: 111, column: 25, }, end: Position { line: 111, column: 46, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 111, column: 49, }, end: Position { line: 111, column: 58, }, }, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 111, column: 59, }, end: Position { line: 111, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 116, column: 5, }, end: Position { line: 116, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 116, column: 17, }, end: Position { line: 116, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "systemd/pstore.conf", span: Span { start: Position { line: 116, column: 22, }, end: Position { line: 116, column: 41, }, }, }, ), ], span: Span { start: Position { line: 116, column: 21, }, end: Position { line: 116, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 116, column: 43, }, end: Position { line: 116, column: 47, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[PStore]\nUnlink=no\n", span: Span { start: Position { line: 117, column: 1, }, end: Position { line: 119, column: 5, }, }, }, ), ], span: Span { start: Position { line: 116, column: 50, }, end: Position { line: 119, column: 7, }, }, }, ), }, ), ], span: Span { start: Position { line: 22, column: 12, }, end: Position { line: 120, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 121, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 121, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 121, column: 2, }, }, }, )