---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: Map {
  bindings: [
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "imports",
       position: (8, 3),
      },
     ],
    },
    List {
     elements: [
      Path {
       parts: [
        Raw {
         content: "../../profiles/base.nix",
         position: (9, 5),
        },
       ],
      },
      Path {
       parts: [
        Raw {
         content: "./sd-image.nix",
         position: (10, 5),
        },
       ],
      },
     ],
     position: (8, 13),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "boot",
       position: (13, 3),
      },
      Raw {
       content: "loader",
       position: (13, 8),
      },
     ],
    },
    Map {
     bindings: [
      KeyValue(
       AttributePath {
        attributes: [
         Raw {
          content: "grub",
          position: (14, 5),
         },
         Raw {
          content: "enable",
          position: (14, 10),
         },
        ],
       },
       Variable {
        identifier: "false",
        position: (14, 19),
       },
      ),
      KeyValue(
       AttributePath {
        attributes: [
         Raw {
          content: "generic-extlinux-compatible",
          position: (15, 5),
         },
         Raw {
          content: "enable",
          position: (15, 33),
         },
        ],
       },
       Variable {
        identifier: "true",
        position: (15, 42),
       },
      ),
     ],
     recursive: false,
     position: (13, 17),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "boot",
       position: (18, 3),
      },
      Raw {
       content: "consoleLogLevel",
       position: (18, 8),
      },
     ],
    },
    FunctionApplication {
     function: PropertyAccess {
      expression: Variable {
       identifier: "lib",
       position: (18, 26),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "mkDefault",
         position: (18, 30),
        },
       ],
      },
      default: None,
     },
     arguments: [
      Int {
       value: 7,
       position: (18, 40),
      },
     ],
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "sdImage",
       position: (20, 3),
      },
     ],
    },
    Map {
     bindings: [
      KeyValue(
       AttributePath {
        attributes: [
         Raw {
          content: "populateFirmwareCommands",
          position: (21, 5),
         },
        ],
       },
       String {
        parts: [],
       },
      ),
      KeyValue(
       AttributePath {
        attributes: [
         Raw {
          content: "populateRootCommands",
          position: (22, 5),
         },
        ],
       },
       String {
        parts: [
         Raw {
          content: "mkdir -p ./files/boot\n",
          position: (23, 1),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (24, 9),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "boot",
              position: (24, 16),
             },
             Raw {
              content: "loader",
              position: (24, 21),
             },
             Raw {
              content: "generic-extlinux-compatible",
              position: (24, 28),
             },
             Raw {
              content: "populateCmd",
              position: (24, 56),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: " -c ",
          position: (24, 68),
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (24, 74),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "system",
              position: (24, 81),
             },
             Raw {
              content: "build",
              position: (24, 88),
             },
             Raw {
              content: "toplevel",
              position: (24, 94),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: " -d ./files/boot\n",
          position: (24, 103),
         },
        ],
       },
      ),
     ],
     recursive: false,
     position: (20, 13),
    },
   ),
  ],
  recursive: false,
  position: (7, 1),
 },
 position: (5, 1),
}