Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: 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: "./installation-cd-graphical-calamares.nix", span: Span { start: Position { line: 7, column: 15, }, end: Position { line: 7, column: 56, }, }, }, ), ], span: Span { start: Position { line: 7, column: 15, }, end: Position { line: 7, column: 56, }, }, }, ), ], span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 7, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isoImage", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 11, }, }, }, ), Raw( PartRaw { content: "edition", span: Span { start: Position { line: 9, column: 12, }, end: Position { line: 9, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "plasma5", span: Span { start: Position { line: 9, column: 23, }, end: Position { line: 9, column: 30, }, }, }, ), ], span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 11, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 11, column: 12, }, end: Position { line: 11, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "desktopManager", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 19, }, }, }, ), Raw( PartRaw { content: "plasma5", span: Span { start: Position { line: 12, column: 20, }, end: Position { line: 12, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 13, column: 16, }, end: Position { line: 13, column: 20, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 30, }, end: Position { line: 14, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "displayManager", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sddm", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 11, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 18, column: 12, }, end: Position { line: 18, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "autoLogin", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 20, column: 18, }, end: Position { line: 20, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nixos", span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 22, }, }, }, ), ], span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 23, }, }, }, ), }, ), ], span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 22, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 17, column: 22, }, end: Position { line: 23, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 11, column: 22, }, end: Position { line: 24, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 14, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 26, column: 15, }, end: Position { line: 26, column: 29, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 26, column: 37, }, end: Position { line: 26, column: 41, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "kate", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 9, }, }, }, ), ], span: Span { start: Position { line: 26, column: 43, }, end: Position { line: 29, column: 4, }, }, }, ), span: Span { start: Position { line: 26, column: 32, }, end: Position { line: 29, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 31, column: 3, }, end: Position { line: 31, column: 9, }, }, }, ), Raw( PartRaw { content: "activationScripts", span: Span { start: Position { line: 31, column: 10, }, end: Position { line: 31, column: 27, }, }, }, ), Raw( PartRaw { content: "installerDesktop", span: Span { start: Position { line: 31, column: 28, }, end: Position { line: 31, column: 44, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "manualDesktopFile", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/current-system/sw/share/applications/nixos-manual.desktop", span: Span { start: Position { line: 34, column: 26, }, end: Position { line: 34, column: 88, }, }, }, ), ], span: Span { start: Position { line: 34, column: 25, }, end: Position { line: 34, column: 89, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "homeDir", span: Span { start: Position { line: 36, column: 5, }, end: Position { line: 36, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/home/nixos/", span: Span { start: Position { line: 36, column: 16, }, end: Position { line: 36, column: 28, }, }, }, ), ], span: Span { start: Position { line: 36, column: 15, }, end: Position { line: 36, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "desktopDir", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 15, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "homeDir", span: Span { start: Position { line: 37, column: 18, }, end: Position { line: 37, column: 25, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "Desktop/", span: Span { start: Position { line: 37, column: 29, }, end: Position { line: 37, column: 37, }, }, }, ), ], span: Span { start: Position { line: 37, column: 28, }, end: Position { line: 37, column: 38, }, }, }, ), }, ), }, ), ], target: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 40, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "desktopDir", span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 40, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: "\nchown nixos ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 41, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "homeDir", span: Span { start: Position { line: 41, column: 19, }, end: Position { line: 41, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 41, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "desktopDir", span: Span { start: Position { line: 41, column: 30, }, end: Position { line: 41, column: 40, }, }, }, ), }, ), Raw( PartRaw { content: "\n\nln -sfT ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 43, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "manualDesktopFile", span: Span { start: Position { line: 43, column: 15, }, end: Position { line: 43, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 43, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "desktopDir", span: Span { start: Position { line: 43, column: 36, }, end: Position { line: 43, column: 46, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "nixos-manual.desktop", span: Span { start: Position { line: 43, column: 50, }, end: Position { line: 43, column: 70, }, }, }, ), ], span: Span { start: Position { line: 43, column: 49, }, end: Position { line: 43, column: 71, }, }, }, ), }, ), }, ), Raw( PartRaw { content: "\nln -sfT ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 44, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 44, column: 15, }, end: Position { line: 44, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gparted", span: Span { start: Position { line: 44, column: 20, }, end: Position { line: 44, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/applications/gparted.desktop ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 44, column: 64, }, }, }, ), Interpolation( PartInterpolation { expression: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "desktopDir", span: Span { start: Position { line: 44, column: 66, }, end: Position { line: 44, column: 76, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "gparted.desktop", span: Span { start: Position { line: 44, column: 80, }, end: Position { line: 44, column: 95, }, }, }, ), ], span: Span { start: Position { line: 44, column: 79, }, end: Position { line: 44, column: 96, }, }, }, ), }, ), }, ), Raw( PartRaw { content: "\nln -sfT ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 45, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 45, column: 15, }, end: Position { line: 45, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "konsole", span: Span { start: Position { line: 45, column: 20, }, end: Position { line: 45, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/applications/org.kde.konsole.desktop ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 45, column: 72, }, }, }, ), Interpolation( PartInterpolation { expression: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "desktopDir", span: Span { start: Position { line: 45, column: 74, }, end: Position { line: 45, column: 84, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "org.kde.konsole.desktop", span: Span { start: Position { line: 45, column: 88, }, end: Position { line: 45, column: 111, }, }, }, ), ], span: Span { start: Position { line: 45, column: 87, }, end: Position { line: 45, column: 112, }, }, }, ), }, ), }, ), Raw( PartRaw { content: "\nln -sfT ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 46, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 46, column: 15, }, end: Position { line: 46, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "calamares-nixos", span: Span { start: Position { line: 46, column: 20, }, end: Position { line: 46, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/applications/io.calamares.calamares.desktop ", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 46, column: 87, }, }, }, ), Interpolation( PartInterpolation { expression: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "desktopDir", span: Span { start: Position { line: 46, column: 89, }, end: Position { line: 46, column: 99, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "io.calamares.calamares.desktop", span: Span { start: Position { line: 46, column: 103, }, end: Position { line: 46, column: 133, }, }, }, ), ], span: Span { start: Position { line: 46, column: 102, }, end: Position { line: 46, column: 134, }, }, }, ), }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 40, column: 1, }, end: Position { line: 47, column: 3, }, }, }, ), ], span: Span { start: Position { line: 39, column: 6, }, end: Position { line: 47, column: 5, }, }, }, ), span: Span { start: Position { line: 31, column: 47, }, end: Position { line: 47, column: 5, }, }, }, ), }, ), ], span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 49, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 49, column: 2, }, }, }, )