Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "modulesPath", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "username", span: Span { start: Position { line: 3, column: 5, }, end: Position { line: 3, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "azurenixosuser", span: Span { start: Position { line: 3, column: 17, }, end: Position { line: 3, column: 31, }, }, }, ), ], span: Span { start: Position { line: 3, column: 16, }, end: Position { line: 3, column: 32, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 10, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "modulesPath", span: Span { start: Position { line: 7, column: 8, }, end: Position { line: 7, column: 19, }, }, }, ), }, ), Raw( PartRaw { content: "/virtualisation/azure-common.nix", span: Span { start: Position { line: 7, column: 6, }, end: Position { line: 7, column: 52, }, }, }, ), ], span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 53, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "modulesPath", span: Span { start: Position { line: 8, column: 8, }, end: Position { line: 8, column: 19, }, }, }, ), }, ), Raw( PartRaw { content: "/virtualisation/azure-image.nix", span: Span { start: Position { line: 8, column: 6, }, end: Position { line: 8, column: 51, }, }, }, ), ], span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 52, }, }, }, ), ], span: Span { start: Position { line: 6, column: 13, }, end: Position { line: 9, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 8, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 14, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "username", span: Span { start: Position { line: 14, column: 18, }, end: Position { line: 14, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 15, }, end: Position { line: 14, column: 28, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isNormalUser", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 15, column: 20, }, end: Position { line: 15, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 9, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/home/", span: Span { start: Position { line: 16, column: 13, }, end: Position { line: 16, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "username", span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 16, column: 12, }, end: Position { line: 16, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Azure NixOS Test User", span: Span { start: Position { line: 17, column: 20, }, end: Position { line: 17, column: 41, }, }, }, ), ], span: Span { start: Position { line: 17, column: 19, }, end: Position { line: 17, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "openssh", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 12, }, }, }, ), Raw( PartRaw { content: "authorizedKeys", span: Span { start: Position { line: 18, column: 13, }, end: Position { line: 18, column: 27, }, }, }, ), Raw( PartRaw { content: "keys", span: Span { start: Position { line: 18, column: 28, }, end: Position { line: 18, column: 32, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 18, column: 38, }, end: Position { line: 18, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "readFile", span: Span { start: Position { line: 18, column: 47, }, end: Position { line: 18, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "~/.ssh/id_ed25519.pub", span: Span { start: Position { line: 18, column: 56, }, end: Position { line: 18, column: 77, }, }, }, ), ], span: Span { start: Position { line: 18, column: 56, }, end: Position { line: 18, column: 77, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 18, column: 35, }, end: Position { line: 18, column: 80, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 31, }, end: Position { line: 19, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 6, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 15, }, }, }, ), Raw( PartRaw { content: "trusted-users", span: Span { start: Position { line: 20, column: 16, }, end: Position { line: 20, column: 29, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "username", span: Span { start: Position { line: 20, column: 34, }, end: Position { line: 20, column: 42, }, }, }, ), ], span: Span { start: Position { line: 20, column: 32, }, end: Position { line: 20, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "virtualisation", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 17, }, }, }, ), Raw( PartRaw { content: "azureImage", span: Span { start: Position { line: 22, column: 18, }, end: Position { line: 22, column: 28, }, }, }, ), Raw( PartRaw { content: "diskSize", span: Span { start: Position { line: 22, column: 29, }, end: Position { line: 22, column: 37, }, }, }, ), ], to: Integer( Integer { value: "2500", span: Span { start: Position { line: 22, column: 40, }, end: Position { line: 22, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 24, column: 3, }, end: Position { line: 24, column: 9, }, }, }, ), Raw( PartRaw { content: "stateVersion", span: Span { start: Position { line: 24, column: 10, }, end: Position { line: 24, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "20.03", span: Span { start: Position { line: 24, column: 26, }, end: Position { line: 24, column: 31, }, }, }, ), ], span: Span { start: Position { line: 24, column: 25, }, end: Position { line: 24, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 7, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 25, column: 8, }, end: Position { line: 25, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 25, column: 25, }, end: Position { line: 25, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "linuxPackages_latest", span: Span { start: Position { line: 25, column: 30, }, end: Position { line: 25, column: 50, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 28, column: 3, }, end: Position { line: 28, column: 11, }, }, }, ), Raw( PartRaw { content: "openssh", span: Span { start: Position { line: 28, column: 12, }, end: Position { line: 28, column: 19, }, }, }, ), Raw( PartRaw { content: "passwordAuthentication", span: Span { start: Position { line: 28, column: 20, }, end: Position { line: 28, column: 42, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 28, column: 45, }, end: Position { line: 28, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 29, column: 3, }, end: Position { line: 29, column: 11, }, }, }, ), Raw( PartRaw { content: "sudo", span: Span { start: Position { line: 29, column: 12, }, end: Position { line: 29, column: 16, }, }, }, ), Raw( PartRaw { content: "wheelNeedsPassword", span: Span { start: Position { line: 29, column: 17, }, end: Position { line: 29, column: 35, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 29, column: 38, }, end: Position { line: 29, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 31, column: 3, }, end: Position { line: 31, column: 14, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 31, column: 15, }, end: Position { line: 31, column: 29, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 31, column: 37, }, end: Position { line: 31, column: 41, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "git", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 8, }, }, }, ), Identifier( Identifier { id: "file", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 13, }, }, }, ), Identifier( Identifier { id: "htop", span: Span { start: Position { line: 32, column: 14, }, end: Position { line: 32, column: 18, }, }, }, ), Identifier( Identifier { id: "wget", span: Span { start: Position { line: 32, column: 19, }, end: Position { line: 32, column: 23, }, }, }, ), Identifier( Identifier { id: "curl", span: Span { start: Position { line: 32, column: 24, }, end: Position { line: 32, column: 28, }, }, }, ), ], span: Span { start: Position { line: 31, column: 43, }, end: Position { line: 33, column: 4, }, }, }, ), span: Span { start: Position { line: 31, column: 32, }, end: Position { line: 33, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 34, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 34, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 34, column: 2, }, }, }, )