---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: Map {
  bindings: [
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "imports",
       position: (6, 3),
      },
     ],
    },
    to: List {
     elements: [
      Path {
       parts: [
        Raw {
         content: "../../profiles/base.nix",
         position: (7, 5),
        },
       ],
       position: (7, 5),
      },
      Path {
       parts: [
        Raw {
         content: "./sd-image.nix",
         position: (8, 5),
        },
       ],
       position: (8, 5),
      },
     ],
     position: (6, 13),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "boot",
       position: (11, 3),
      },
      Raw {
       content: "loader",
       position: (11, 8),
      },
     ],
    },
    to: Map {
     bindings: [
      Binding {
       from: AttributePath {
        parts: [
         Raw {
          content: "grub",
          position: (12, 5),
         },
         Raw {
          content: "enable",
          position: (12, 10),
         },
        ],
       },
       to: Variable {
        identifier: "false",
        position: (12, 19),
       },
      },
      Binding {
       from: AttributePath {
        parts: [
         Raw {
          content: "generic-extlinux-compatible",
          position: (13, 5),
         },
        ],
       },
       to: Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "enable",
             position: (14, 7),
            },
           ],
          },
          to: Variable {
           identifier: "true",
           position: (14, 16),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "useGenerationDeviceTree",
             position: (18, 7),
            },
           ],
          },
          to: Variable {
           identifier: "false",
           position: (18, 33),
          },
         },
        ],
        recursive: false,
        position: (13, 35),
       },
      },
     ],
     recursive: false,
     position: (11, 17),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "boot",
       position: (22, 3),
      },
      Raw {
       content: "consoleLogLevel",
       position: (22, 8),
      },
     ],
    },
    to: FunctionApplication {
     function: PropertyAccess {
      expression: Variable {
       identifier: "lib",
       position: (22, 26),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "mkDefault",
         position: (22, 30),
        },
       ],
      },
      default: None,
     },
     arguments: [
      Int {
       value: 7,
       position: (22, 40),
      },
     ],
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "boot",
       position: (23, 3),
      },
      Raw {
       content: "kernelParams",
       position: (23, 8),
      },
     ],
    },
    to: List {
     elements: [
      String {
       parts: [
        Raw {
         content: "console=tty0",
         position: (23, 26),
        },
       ],
       position: (23, 25),
      },
      String {
       parts: [
        Raw {
         content: "console=ttyS0,115200n8",
         position: (23, 41),
        },
       ],
       position: (23, 40),
      },
     ],
     position: (23, 23),
    },
   },
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "sdImage",
       position: (25, 3),
      },
     ],
    },
    to: Map {
     bindings: [
      Binding {
       from: AttributePath {
        parts: [
         Raw {
          content: "populateFirmwareCommands",
          position: (26, 5),
         },
        ],
       },
       to: String {
        parts: [],
        position: (26, 32),
       },
      },
      Binding {
       from: AttributePath {
        parts: [
         Raw {
          content: "populateRootCommands",
          position: (27, 5),
         },
        ],
       },
       to: String {
        parts: [
         Raw {
          content: "mkdir -p ./files/boot\n",
          position: (28, 1),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (29, 9),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "boot",
              position: (29, 16),
             },
             Raw {
              content: "loader",
              position: (29, 21),
             },
             Raw {
              content: "generic-extlinux-compatible",
              position: (29, 28),
             },
             Raw {
              content: "populateCmd",
              position: (29, 56),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: " -c ",
          position: (29, 68),
         },
         Interpolation {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (29, 74),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "system",
              position: (29, 81),
             },
             Raw {
              content: "build",
              position: (29, 88),
             },
             Raw {
              content: "toplevel",
              position: (29, 94),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: " -d ./files/boot\n",
          position: (29, 103),
         },
        ],
        position: (27, 28),
       },
      },
     ],
     recursive: false,
     position: (25, 13),
    },
   },
  ],
  recursive: false,
  position: (5, 1),
 },
 position: (3, 1),
}