---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (4, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (7, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (7, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "console",
         position: (7, 16),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "makeColor",
        position: (9, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "i",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: FunctionApplication {
       function: Variable {
        identifier: "concatMapStringsSep",
        position: (9, 18),
       },
       arguments: [
        String {
         parts: [
          Raw {
           content: ",",
          },
         ],
         position: (9, 38),
        },
        Function {
         argument: Some(
          "x",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: BinaryOperation {
          operator: Addition,
          operands: [
           String {
            parts: [
             Raw {
              content: "0x",
             },
            ],
            position: (9, 46),
           },
           FunctionApplication {
            function: Variable {
             identifier: "substring",
             position: (9, 53),
            },
            arguments: [
             BinaryOperation {
              operator: Multiplication,
              operands: [
               Int {
                value: 2,
                position: (9, 64),
               },
               Variable {
                identifier: "i",
                position: (9, 66),
               },
              ],
              position: (9, 65),
             },
             Int {
              value: 2,
              position: (9, 69),
             },
             Variable {
              identifier: "x",
              position: (9, 71),
             },
            ],
           },
          ],
          position: (9, 51),
         },
         position: (9, 43),
        },
       ],
      },
      position: (9, 15),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "isUnicode",
        position: (11, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "hasSuffix",
       position: (11, 15),
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "UTF-8",
         },
        ],
        position: (11, 25),
       },
       FunctionApplication {
        function: Variable {
         identifier: "toUpper",
         position: (11, 34),
        },
        arguments: [
         PropertyAccess {
          expression: Variable {
           identifier: "config",
           position: (11, 42),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "i18n",
             position: (11, 49),
            },
            Raw {
             content: "defaultLocale",
             position: (11, 54),
            },
           ],
          },
          default: None,
         },
        ],
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "optimizedKeymap",
        position: (13, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (13, 21),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "runCommand",
          position: (13, 26),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "keymap",
         },
        ],
        position: (13, 37),
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "nativeBuildInputs",
             position: (14, 5),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (14, 27),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "buildPackages",
                position: (14, 32),
               },
               Raw {
                content: "kbd",
                position: (14, 46),
               },
              ],
             },
             default: None,
            },
           ],
           position: (14, 25),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "LOADKEYS_KEYMAP_PATH",
             position: (15, 5),
            },
           ],
          },
          String {
           parts: [
            Expression {
             expression: FunctionApplication {
              function: Variable {
               identifier: "consoleEnv",
               position: (15, 31),
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (15, 42),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "kbd",
                   position: (15, 47),
                  },
                 ],
                },
                default: None,
               },
              ],
             },
            },
            Raw {
             content: "/share/keymaps/**",
            },
           ],
           position: (15, 28),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "preferLocalBuild",
             position: (16, 5),
            },
           ],
          },
          Variable {
           identifier: "true",
           position: (16, 24),
          },
         ),
        ],
        recursive: false,
        position: (13, 46),
       },
       String {
        parts: [
         Raw {
          content: "loadkeys -b ",
         },
         Expression {
          expression: FunctionApplication {
           function: Variable {
            identifier: "optionalString",
            position: (18, 19),
           },
           arguments: [
            Variable {
             identifier: "isUnicode",
             position: (18, 34),
            },
            String {
             parts: [
              Raw {
               content: "-u",
              },
             ],
             position: (18, 44),
            },
           ],
          },
         },
         Raw {
          content: " \"",
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (18, 53),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "keyMap",
              position: (18, 57),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\" > $out\n",
         },
        ],
        position: (17, 5),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "vconsoleConf",
        position: (22, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (22, 18),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "writeText",
          position: (22, 23),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "vconsole.conf",
         },
        ],
        position: (22, 33),
       },
       String {
        parts: [
         Raw {
          content: "KEYMAP=",
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (23, 14),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "keyMap",
              position: (23, 18),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\nFONT=",
         },
         Expression {
          expression: PropertyAccess {
           expression: Variable {
            identifier: "cfg",
            position: (24, 12),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "font",
              position: (24, 16),
             },
            ],
           },
           default: None,
          },
         },
         Raw {
          content: "\n",
         },
        ],
        position: (22, 49),
       },
      ],
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "consoleEnv",
        position: (27, 3),
       },
      ],
     },
     Function {
      argument: Some(
       "kbd",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: FunctionApplication {
       function: PropertyAccess {
        expression: Variable {
         identifier: "pkgs",
         position: (27, 21),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "buildEnv",
           position: (27, 26),
          },
         ],
        },
        default: None,
       },
       arguments: [
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "name",
              position: (28, 5),
             },
            ],
           },
           String {
            parts: [
             Raw {
              content: "console-env",
             },
            ],
            position: (28, 12),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "paths",
              position: (29, 5),
             },
            ],
           },
           BinaryOperation {
            operator: Concatenation,
            operands: [
             List {
              elements: [
               Variable {
                identifier: "kbd",
                position: (29, 15),
               },
              ],
              position: (29, 13),
             },
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (29, 24),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "packages",
                 position: (29, 28),
                },
               ],
              },
              default: None,
             },
            ],
            position: (29, 21),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "pathsToLink",
              position: (30, 5),
             },
            ],
           },
           List {
            elements: [
             String {
              parts: [
               Raw {
                content: "/share/consolefonts",
               },
              ],
              position: (31, 7),
             },
             String {
              parts: [
               Raw {
                content: "/share/consoletrans",
               },
              ],
              position: (32, 7),
             },
             String {
              parts: [
               Raw {
                content: "/share/keymaps",
               },
              ],
              position: (33, 7),
             },
             String {
              parts: [
               Raw {
                content: "/share/unimaps",
               },
              ],
              position: (34, 7),
             },
            ],
            position: (30, 19),
           },
          ),
         ],
         recursive: false,
         position: (27, 35),
        },
       ],
      },
      position: (27, 16),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "setVconsole",
        position: (38, 3),
       },
      ],
     },
     UnaryOperation {
      operator: Not,
      operand: PropertyAccess {
       expression: Variable {
        identifier: "config",
        position: (38, 18),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "boot",
          position: (38, 25),
         },
         Raw {
          content: "isContainer",
          position: (38, 30),
         },
        ],
       },
       default: None,
      },
      position: (38, 17),
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (44, 3),
        },
        Raw {
         content: "console",
         position: (44, 11),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "font",
            position: (45, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (45, 12),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (46, 7),
                },
               ],
              },
              With {
               expression: Variable {
                identifier: "types",
                position: (46, 19),
               },
               target: FunctionApplication {
                function: Variable {
                 identifier: "either",
                 position: (46, 26),
                },
                arguments: [
                 Variable {
                  identifier: "str",
                  position: (46, 33),
                 },
                 Variable {
                  identifier: "path",
                  position: (46, 37),
                 },
                ],
               },
               position: (46, 14),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (47, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Lat2-Terminus16",
                },
               ],
               position: (47, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (48, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "LatArCyrHeb-16",
                },
               ],
               position: (48, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (49, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "The font used for the virtual consoles.  Leave empty to use\nwhatever the <command>setfont</command> program considers the\ndefault font.\nCan be either a font name or a path to a PSF font file.\n",
                },
               ],
               position: (49, 21),
              },
             ),
            ],
            recursive: false,
            position: (45, 21),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "keyMap",
            position: (57, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (57, 14),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (58, 7),
                },
               ],
              },
              With {
               expression: Variable {
                identifier: "types",
                position: (58, 19),
               },
               target: FunctionApplication {
                function: Variable {
                 identifier: "either",
                 position: (58, 26),
                },
                arguments: [
                 Variable {
                  identifier: "str",
                  position: (58, 33),
                 },
                 Variable {
                  identifier: "path",
                  position: (58, 37),
                 },
                ],
               },
               position: (58, 14),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (59, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "us",
                },
               ],
               position: (59, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (60, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "fr",
                },
               ],
               position: (60, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (61, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "The keyboard mapping table for the virtual consoles.\n",
                },
               ],
               position: (61, 21),
              },
             ),
            ],
            recursive: false,
            position: (57, 23),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "colors",
            position: (66, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (66, 14),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (67, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (67, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listOf",
                   position: (67, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (67, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "str",
                    position: (67, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (68, 7),
                },
               ],
              },
              List {
               elements: [],
               position: (68, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "example",
                 position: (69, 7),
                },
               ],
              },
              List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "002b36",
                  },
                 ],
                 position: (70, 9),
                },
                String {
                 parts: [
                  Raw {
                   content: "dc322f",
                  },
                 ],
                 position: (70, 18),
                },
                String {
                 parts: [
                  Raw {
                   content: "859900",
                  },
                 ],
                 position: (70, 27),
                },
                String {
                 parts: [
                  Raw {
                   content: "b58900",
                  },
                 ],
                 position: (70, 36),
                },
                String {
                 parts: [
                  Raw {
                   content: "268bd2",
                  },
                 ],
                 position: (71, 9),
                },
                String {
                 parts: [
                  Raw {
                   content: "d33682",
                  },
                 ],
                 position: (71, 18),
                },
                String {
                 parts: [
                  Raw {
                   content: "2aa198",
                  },
                 ],
                 position: (71, 27),
                },
                String {
                 parts: [
                  Raw {
                   content: "eee8d5",
                  },
                 ],
                 position: (71, 36),
                },
                String {
                 parts: [
                  Raw {
                   content: "002b36",
                  },
                 ],
                 position: (72, 9),
                },
                String {
                 parts: [
                  Raw {
                   content: "cb4b16",
                  },
                 ],
                 position: (72, 18),
                },
                String {
                 parts: [
                  Raw {
                   content: "586e75",
                  },
                 ],
                 position: (72, 27),
                },
                String {
                 parts: [
                  Raw {
                   content: "657b83",
                  },
                 ],
                 position: (72, 36),
                },
                String {
                 parts: [
                  Raw {
                   content: "839496",
                  },
                 ],
                 position: (73, 9),
                },
                String {
                 parts: [
                  Raw {
                   content: "6c71c4",
                  },
                 ],
                 position: (73, 18),
                },
                String {
                 parts: [
                  Raw {
                   content: "93a1a1",
                  },
                 ],
                 position: (73, 27),
                },
                String {
                 parts: [
                  Raw {
                   content: "fdf6e3",
                  },
                 ],
                 position: (73, 36),
                },
               ],
               position: (69, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (75, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "The 16 colors palette used by the virtual consoles.\nLeave empty to use the default colors.\nColors must be in hexadecimal format and listed in\norder from color 0 to color 15.\n",
                },
               ],
               position: (75, 21),
              },
             ),
            ],
            recursive: false,
            position: (66, 23),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "packages",
            position: (84, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (84, 16),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (85, 7),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (85, 14),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listOf",
                   position: (85, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (85, 27),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "package",
                    position: (85, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (86, 7),
                },
               ],
              },
              List {
               elements: [],
               position: (86, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (87, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "List of additional packages that provide console fonts, keymaps and\nother resources for virtual consoles use.\n",
                },
               ],
               position: (87, 21),
              },
             ),
            ],
            recursive: false,
            position: (84, 25),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "useXkbConfig",
            position: (93, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (93, 20),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (94, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (94, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (94, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (95, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (95, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (96, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "If set, configure the virtual console keymap from the xserver\nkeyboard settings.\n",
                },
               ],
               position: (96, 21),
              },
             ),
            ],
            recursive: false,
            position: (93, 29),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "earlySetup",
            position: (102, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (102, 18),
          },
          arguments: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (103, 7),
                },
               ],
              },
              Variable {
               identifier: "false",
               position: (103, 17),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "type",
                 position: (104, 7),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (104, 14),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "bool",
                  position: (104, 20),
                 },
                ],
               },
               default: None,
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "description",
                 position: (105, 7),
                },
               ],
              },
              String {
               parts: [
                Raw {
                 content: "Enable setting virtual console options as early as possible (in initrd).\n",
                },
               ],
               position: (105, 21),
              },
             ),
            ],
            recursive: false,
            position: (102, 27),
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (44, 22),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (115, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkMerge",
        position: (115, 12),
       },
       arguments: [
        List {
         elements: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "console",
                position: (116, 7),
               },
               Raw {
                content: "keyMap",
                position: (116, 15),
               },
              ],
             },
             With {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "config",
                position: (116, 29),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "services",
                  position: (116, 36),
                 },
                 Raw {
                  content: "xserver",
                  position: (116, 45),
                 },
                ],
               },
               default: None,
              },
              target: FunctionApplication {
               function: Variable {
                identifier: "mkIf",
                position: (117, 9),
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (117, 14),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "useXkbConfig",
                    position: (117, 18),
                   },
                  ],
                 },
                 default: None,
                },
                FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (118, 12),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "runCommand",
                     position: (118, 17),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  String {
                   parts: [
                    Raw {
                     content: "xkb-console-keymap",
                    },
                   ],
                   position: (118, 28),
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "preferLocalBuild",
                        position: (118, 51),
                       },
                      ],
                     },
                     Variable {
                      identifier: "true",
                      position: (118, 70),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (118, 49),
                  },
                  String {
                   parts: [
                    Raw {
                     content: "",
                    },
                    Raw {
                     content: "'",
                    },
                    Expression {
                     expression: PropertyAccess {
                      expression: Variable {
                       identifier: "pkgs",
                       position: (119, 16),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "buildPackages",
                         position: (119, 21),
                        },
                        Raw {
                         content: "ckbcomp",
                         position: (119, 35),
                        },
                       ],
                      },
                      default: None,
                     },
                    },
                    Raw {
                     content: "/bin/ckbcomp' \\\n  ",
                    },
                    Expression {
                     expression: FunctionApplication {
                      function: Variable {
                       identifier: "optionalString",
                       position: (120, 17),
                      },
                      arguments: [
                       HasProperty {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "config",
                          position: (120, 33),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "environment",
                            position: (120, 40),
                           },
                           Raw {
                            content: "sessionVariables",
                            position: (120, 52),
                           },
                          ],
                         },
                         default: None,
                        },
                        attribute_path: AttributePath {
                         attributes: [
                          Raw {
                           content: "XKB_CONFIG_ROOT",
                           position: (120, 71),
                          },
                         ],
                        },
                        position: (120, 69),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "-I",
                         },
                         Expression {
                          expression: PropertyAccess {
                           expression: Variable {
                            identifier: "config",
                            position: (121, 22),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "environment",
                              position: (121, 29),
                             },
                             Raw {
                              content: "sessionVariables",
                              position: (121, 41),
                             },
                             Raw {
                              content: "XKB_CONFIG_ROOT",
                              position: (121, 58),
                             },
                            ],
                           },
                           default: None,
                          },
                         },
                        ],
                        position: (121, 17),
                       },
                      ],
                     },
                    },
                    Raw {
                     content: " \\\n  -model ",
                    },
                    Raw {
                     content: "'",
                    },
                    Expression {
                     expression: Variable {
                      identifier: "xkbModel",
                      position: (123, 25),
                     },
                    },
                    Raw {
                     content: "' -layout ",
                    },
                    Raw {
                     content: "'",
                    },
                    Expression {
                     expression: Variable {
                      identifier: "layout",
                      position: (123, 47),
                     },
                    },
                    Raw {
                     content: "' \\\n  -option ",
                    },
                    Raw {
                     content: "'",
                    },
                    Expression {
                     expression: Variable {
                      identifier: "xkbOptions",
                      position: (124, 26),
                     },
                    },
                    Raw {
                     content: "' -variant ",
                    },
                    Raw {
                     content: "'",
                    },
                    Expression {
                     expression: Variable {
                      identifier: "xkbVariant",
                      position: (124, 51),
                     },
                    },
                    Raw {
                     content: "' > \"$out\"\n",
                    },
                   ],
                   position: (118, 78),
                  },
                 ],
                },
               ],
              },
              position: (116, 24),
             },
            ),
           ],
           recursive: false,
           position: (116, 5),
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (128, 6),
           },
           arguments: [
            UnaryOperation {
             operator: Not,
             operand: Variable {
              identifier: "setVconsole",
              position: (128, 13),
             },
             position: (128, 12),
            },
            Map {
             bindings: [
              KeyValue(
               AttributePath {
                attributes: [
                 Raw {
                  content: "systemd",
                  position: (129, 7),
                 },
                 Raw {
                  content: "services",
                  position: (129, 15),
                 },
                 Raw {
                  content: "systemd-vconsole-setup",
                  position: (129, 24),
                 },
                 Raw {
                  content: "enable",
                  position: (129, 47),
                 },
                ],
               },
               Variable {
                identifier: "false",
                position: (129, 56),
               },
              ),
             ],
             recursive: false,
             position: (128, 26),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "mkIf",
            position: (132, 6),
           },
           arguments: [
            Variable {
             identifier: "setVconsole",
             position: (132, 11),
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkMerge",
              position: (132, 24),
             },
             arguments: [
              List {
               elements: [
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "environment",
                      position: (133, 9),
                     },
                     Raw {
                      content: "systemPackages",
                      position: (133, 21),
                     },
                    ],
                   },
                   List {
                    elements: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "pkgs",
                       position: (133, 40),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "kbd",
                         position: (133, 45),
                        },
                       ],
                      },
                      default: None,
                     },
                    ],
                    position: (133, 38),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "environment",
                      position: (137, 9),
                     },
                     Raw {
                      content: "etc",
                      position: (137, 21),
                     },
                     Expression {
                      expression: __StringParts(
                       [
                        Raw {
                         content: "vconsole.conf",
                        },
                       ],
                      ),
                     },
                     Raw {
                      content: "source",
                      position: (137, 41),
                     },
                    ],
                   },
                   Variable {
                    identifier: "vconsoleConf",
                    position: (137, 50),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "environment",
                      position: (139, 9),
                     },
                     Raw {
                      content: "etc",
                      position: (139, 21),
                     },
                     Raw {
                      content: "kbd",
                      position: (139, 25),
                     },
                     Raw {
                      content: "source",
                      position: (139, 29),
                     },
                    ],
                   },
                   String {
                    parts: [
                     Expression {
                      expression: FunctionApplication {
                       function: Variable {
                        identifier: "consoleEnv",
                        position: (139, 41),
                       },
                       arguments: [
                        PropertyAccess {
                         expression: Variable {
                          identifier: "pkgs",
                          position: (139, 52),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "kbd",
                            position: (139, 57),
                           },
                          ],
                         },
                         default: None,
                        },
                       ],
                      },
                     },
                     Raw {
                      content: "/share",
                     },
                    ],
                    position: (139, 38),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "boot",
                      position: (141, 9),
                     },
                     Raw {
                      content: "initrd",
                      position: (141, 14),
                     },
                     Raw {
                      content: "preLVMCommands",
                      position: (141, 21),
                     },
                    ],
                   },
                   FunctionApplication {
                    function: Variable {
                     identifier: "mkIf",
                     position: (141, 38),
                    },
                    arguments: [
                     UnaryOperation {
                      operator: Not,
                      operand: PropertyAccess {
                       expression: Variable {
                        identifier: "config",
                        position: (141, 45),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "boot",
                          position: (141, 52),
                         },
                         Raw {
                          content: "initrd",
                          position: (141, 57),
                         },
                         Raw {
                          content: "systemd",
                          position: (141, 64),
                         },
                         Raw {
                          content: "enable",
                          position: (141, 72),
                         },
                        ],
                       },
                       default: None,
                      },
                      position: (141, 44),
                     },
                     FunctionApplication {
                      function: Variable {
                       identifier: "mkBefore",
                       position: (141, 81),
                      },
                      arguments: [
                       String {
                        parts: [
                         Raw {
                          content: "kbd_mode ",
                         },
                         Expression {
                          expression: IfThenElse {
                           predicate: Variable {
                            identifier: "isUnicode",
                            position: (142, 25),
                           },
                           then: String {
                            parts: [
                             Raw {
                              content: "-u",
                             },
                            ],
                            position: (142, 40),
                           },
                           else_: String {
                            parts: [
                             Raw {
                              content: "-a",
                             },
                            ],
                            position: (142, 50),
                           },
                           position: (142, 22),
                          },
                         },
                         Raw {
                          content: " -C /dev/console\nprintf \"\\033%%",
                         },
                         Expression {
                          expression: IfThenElse {
                           predicate: Variable {
                            identifier: "isUnicode",
                            position: (143, 30),
                           },
                           then: String {
                            parts: [
                             Raw {
                              content: "G",
                             },
                            ],
                            position: (143, 45),
                           },
                           else_: String {
                            parts: [
                             Raw {
                              content: "@",
                             },
                            ],
                            position: (143, 54),
                           },
                           position: (143, 27),
                          },
                         },
                         Raw {
                          content: "\" >> /dev/console\nloadkmap < ",
                         },
                         Expression {
                          expression: Variable {
                           identifier: "optimizedKeymap",
                           position: (144, 24),
                          },
                         },
                         Raw {
                          content: "\n\n",
                         },
                         Expression {
                          expression: FunctionApplication {
                           function: Variable {
                            identifier: "optionalString",
                            position: (146, 13),
                           },
                           arguments: [
                            PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (146, 28),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "earlySetup",
                                position: (146, 32),
                               },
                              ],
                             },
                             default: None,
                            },
                            String {
                             parts: [
                              Raw {
                               content: "setfont -C /dev/console $extraUtils/share/consolefonts/font.psf\n",
                              },
                             ],
                             position: (146, 43),
                            },
                           ],
                          },
                         },
                         Raw {
                          content: "\n",
                         },
                        ],
                        position: (141, 90),
                       },
                      ],
                     },
                    ],
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "boot",
                      position: (151, 9),
                     },
                     Raw {
                      content: "initrd",
                      position: (151, 14),
                     },
                     Raw {
                      content: "systemd",
                      position: (151, 21),
                     },
                     Raw {
                      content: "contents",
                      position: (151, 29),
                     },
                    ],
                   },
                   Map {
                    bindings: [
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Expression {
                         expression: __StringParts(
                          [
                           Raw {
                            content: "/etc/kbd",
                           },
                          ],
                         ),
                        },
                        Raw {
                         content: "source",
                         position: (152, 22),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Expression {
                         expression: FunctionApplication {
                          function: Variable {
                           identifier: "consoleEnv",
                           position: (152, 34),
                          },
                          arguments: [
                           PropertyAccess {
                            expression: Variable {
                             identifier: "config",
                             position: (152, 45),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "boot",
                               position: (152, 52),
                              },
                              Raw {
                               content: "initrd",
                               position: (152, 57),
                              },
                              Raw {
                               content: "systemd",
                               position: (152, 64),
                              },
                              Raw {
                               content: "package",
                               position: (152, 72),
                              },
                              Raw {
                               content: "kbd",
                               position: (152, 80),
                              },
                             ],
                            },
                            default: None,
                           },
                          ],
                         },
                        },
                        Raw {
                         content: "/share",
                        },
                       ],
                       position: (152, 31),
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Expression {
                         expression: __StringParts(
                          [
                           Raw {
                            content: "/etc/vconsole.conf",
                           },
                          ],
                         ),
                        },
                        Raw {
                         content: "source",
                         position: (153, 32),
                        },
                       ],
                      },
                      Variable {
                       identifier: "vconsoleConf",
                       position: (153, 41),
                      },
                     ),
                    ],
                    recursive: false,
                    position: (151, 40),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "boot",
                      position: (155, 9),
                     },
                     Raw {
                      content: "initrd",
                      position: (155, 14),
                     },
                     Raw {
                      content: "systemd",
                      position: (155, 21),
                     },
                     Raw {
                      content: "storePaths",
                      position: (155, 29),
                     },
                    ],
                   },
                   List {
                    elements: [
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "config",
                          position: (156, 14),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "boot",
                            position: (156, 21),
                           },
                           Raw {
                            content: "initrd",
                            position: (156, 26),
                           },
                           Raw {
                            content: "systemd",
                            position: (156, 33),
                           },
                           Raw {
                            content: "package",
                            position: (156, 41),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/lib/systemd/systemd-vconsole-setup",
                       },
                      ],
                      position: (156, 11),
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "config",
                          position: (157, 14),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "boot",
                            position: (157, 21),
                           },
                           Raw {
                            content: "initrd",
                            position: (157, 26),
                           },
                           Raw {
                            content: "systemd",
                            position: (157, 33),
                           },
                           Raw {
                            content: "package",
                            position: (157, 41),
                           },
                           Raw {
                            content: "kbd",
                            position: (157, 49),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/setfont",
                       },
                      ],
                      position: (157, 11),
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "config",
                          position: (158, 14),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "boot",
                            position: (158, 21),
                           },
                           Raw {
                            content: "initrd",
                            position: (158, 26),
                           },
                           Raw {
                            content: "systemd",
                            position: (158, 33),
                           },
                           Raw {
                            content: "package",
                            position: (158, 41),
                           },
                           Raw {
                            content: "kbd",
                            position: (158, 49),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/loadkeys",
                       },
                      ],
                      position: (158, 11),
                     },
                     String {
                      parts: [
                       Expression {
                        expression: PropertyAccess {
                         expression: Variable {
                          identifier: "config",
                          position: (159, 14),
                         },
                         attribute_path: AttributePath {
                          attributes: [
                           Raw {
                            content: "boot",
                            position: (159, 21),
                           },
                           Raw {
                            content: "initrd",
                            position: (159, 26),
                           },
                           Raw {
                            content: "systemd",
                            position: (159, 33),
                           },
                           Raw {
                            content: "package",
                            position: (159, 41),
                           },
                           Raw {
                            content: "kbd",
                            position: (159, 49),
                           },
                           Raw {
                            content: "gzip",
                            position: (159, 53),
                           },
                          ],
                         },
                         default: None,
                        },
                       },
                       Raw {
                        content: "/bin/gzip",
                       },
                      ],
                      position: (159, 11),
                     },
                    ],
                    position: (155, 42),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "systemd",
                      position: (162, 9),
                     },
                     Raw {
                      content: "services",
                      position: (162, 17),
                     },
                     Raw {
                      content: "reload-systemd-vconsole-setup",
                      position: (162, 26),
                     },
                    ],
                   },
                   Map {
                    bindings: [
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "description",
                         position: (163, 13),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "Reset console on configuration changes",
                        },
                       ],
                       position: (163, 27),
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "wantedBy",
                         position: (164, 13),
                        },
                       ],
                      },
                      List {
                       elements: [
                        String {
                         parts: [
                          Raw {
                           content: "multi-user.target",
                          },
                         ],
                         position: (164, 26),
                        },
                       ],
                       position: (164, 24),
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "restartTriggers",
                         position: (165, 13),
                        },
                       ],
                      },
                      List {
                       elements: [
                        Variable {
                         identifier: "vconsoleConf",
                         position: (165, 33),
                        },
                        FunctionApplication {
                         function: Variable {
                          identifier: "consoleEnv",
                          position: (165, 47),
                         },
                         arguments: [
                          PropertyAccess {
                           expression: Variable {
                            identifier: "pkgs",
                            position: (165, 58),
                           },
                           attribute_path: AttributePath {
                            attributes: [
                             Raw {
                              content: "kbd",
                              position: (165, 63),
                             },
                            ],
                           },
                           default: None,
                          },
                         ],
                        },
                       ],
                       position: (165, 31),
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "reloadIfChanged",
                         position: (166, 13),
                        },
                       ],
                      },
                      Variable {
                       identifier: "true",
                       position: (166, 31),
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "serviceConfig",
                         position: (167, 13),
                        },
                       ],
                      },
                      Map {
                       bindings: [
                        KeyValue(
                         AttributePath {
                          attributes: [
                           Raw {
                            content: "RemainAfterExit",
                            position: (168, 17),
                           },
                          ],
                         },
                         Variable {
                          identifier: "true",
                          position: (168, 35),
                         },
                        ),
                        KeyValue(
                         AttributePath {
                          attributes: [
                           Raw {
                            content: "ExecStart",
                            position: (169, 17),
                           },
                          ],
                         },
                         String {
                          parts: [
                           Expression {
                            expression: PropertyAccess {
                             expression: Variable {
                              identifier: "pkgs",
                              position: (169, 32),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "coreutils",
                                position: (169, 37),
                               },
                              ],
                             },
                             default: None,
                            },
                           },
                           Raw {
                            content: "/bin/true",
                           },
                          ],
                          position: (169, 29),
                         },
                        ),
                        KeyValue(
                         AttributePath {
                          attributes: [
                           Raw {
                            content: "ExecReload",
                            position: (170, 17),
                           },
                          ],
                         },
                         String {
                          parts: [
                           Raw {
                            content: "/run/current-system/systemd/bin/systemctl restart systemd-vconsole-setup",
                           },
                          ],
                          position: (170, 30),
                         },
                        ),
                       ],
                       recursive: false,
                       position: (168, 15),
                      },
                     ),
                    ],
                    recursive: false,
                    position: (163, 11),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (133, 7),
                },
                FunctionApplication {
                 function: Variable {
                  identifier: "mkIf",
                  position: (175, 8),
                 },
                 arguments: [
                  BinaryOperation {
                   operator: NotEqualTo,
                   operands: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (175, 14),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "colors",
                        position: (175, 18),
                       },
                      ],
                     },
                     default: None,
                    },
                    List {
                     elements: [],
                     position: (175, 28),
                    },
                   ],
                   position: (175, 25),
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "boot",
                        position: (176, 9),
                       },
                       Raw {
                        content: "kernelParams",
                        position: (176, 14),
                       },
                      ],
                     },
                     List {
                      elements: [
                       String {
                        parts: [
                         Raw {
                          content: "vt.default_red=",
                         },
                         Expression {
                          expression: FunctionApplication {
                           function: Variable {
                            identifier: "makeColor",
                            position: (177, 29),
                           },
                           arguments: [
                            Int {
                             value: 0,
                             position: (177, 39),
                            },
                            PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (177, 41),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "colors",
                                position: (177, 45),
                               },
                              ],
                             },
                             default: None,
                            },
                           ],
                          },
                         },
                        ],
                        position: (177, 11),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "vt.default_grn=",
                         },
                         Expression {
                          expression: FunctionApplication {
                           function: Variable {
                            identifier: "makeColor",
                            position: (178, 29),
                           },
                           arguments: [
                            Int {
                             value: 1,
                             position: (178, 39),
                            },
                            PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (178, 41),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "colors",
                                position: (178, 45),
                               },
                              ],
                             },
                             default: None,
                            },
                           ],
                          },
                         },
                        ],
                        position: (178, 11),
                       },
                       String {
                        parts: [
                         Raw {
                          content: "vt.default_blu=",
                         },
                         Expression {
                          expression: FunctionApplication {
                           function: Variable {
                            identifier: "makeColor",
                            position: (179, 29),
                           },
                           arguments: [
                            Int {
                             value: 2,
                             position: (179, 39),
                            },
                            PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (179, 41),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "colors",
                                position: (179, 45),
                               },
                              ],
                             },
                             default: None,
                            },
                           ],
                          },
                         },
                        ],
                        position: (179, 11),
                       },
                      ],
                      position: (176, 29),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (175, 32),
                  },
                 ],
                },
                FunctionApplication {
                 function: Variable {
                  identifier: "mkIf",
                  position: (183, 8),
                 },
                 arguments: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (183, 13),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "earlySetup",
                      position: (183, 17),
                     },
                    ],
                   },
                   default: None,
                  },
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "boot",
                        position: (184, 9),
                       },
                       Raw {
                        content: "initrd",
                        position: (184, 14),
                       },
                       Raw {
                        content: "extraUtilsCommands",
                        position: (184, 21),
                       },
                      ],
                     },
                     String {
                      parts: [
                       Raw {
                        content: "mkdir -p $out/share/consolefonts\n",
                       },
                       Expression {
                        expression: IfThenElse {
                         predicate: BinaryOperation {
                          operator: EqualTo,
                          operands: [
                           FunctionApplication {
                            function: Variable {
                             identifier: "substring",
                             position: (186, 16),
                            },
                            arguments: [
                             Int {
                              value: 0,
                              position: (186, 26),
                             },
                             Int {
                              value: 1,
                              position: (186, 28),
                             },
                             PropertyAccess {
                              expression: Variable {
                               identifier: "cfg",
                               position: (186, 30),
                              },
                              attribute_path: AttributePath {
                               attributes: [
                                Raw {
                                 content: "font",
                                 position: (186, 34),
                                },
                               ],
                              },
                              default: None,
                             },
                            ],
                           },
                           String {
                            parts: [
                             Raw {
                              content: "/",
                             },
                            ],
                            position: (186, 42),
                           },
                          ],
                          position: (186, 39),
                         },
                         then: String {
                          parts: [
                           Raw {
                            content: "font=\"",
                           },
                           Expression {
                            expression: PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (187, 21),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "font",
                                position: (187, 25),
                               },
                              ],
                             },
                             default: None,
                            },
                           },
                           Raw {
                            content: "\"\n",
                           },
                          ],
                          position: (186, 51),
                         },
                         else_: String {
                          parts: [
                           Raw {
                            content: "font=\"$(echo ",
                           },
                           Expression {
                            expression: FunctionApplication {
                             function: Variable {
                              identifier: "consoleEnv",
                              position: (189, 28),
                             },
                             arguments: [
                              PropertyAccess {
                               expression: Variable {
                                identifier: "pkgs",
                                position: (189, 39),
                               },
                               attribute_path: AttributePath {
                                attributes: [
                                 Raw {
                                  content: "kbd",
                                  position: (189, 44),
                                 },
                                ],
                               },
                               default: None,
                              },
                             ],
                            },
                           },
                           Raw {
                            content: "/share/consolefonts/",
                           },
                           Expression {
                            expression: PropertyAccess {
                             expression: Variable {
                              identifier: "cfg",
                              position: (189, 70),
                             },
                             attribute_path: AttributePath {
                              attributes: [
                               Raw {
                                content: "font",
                                position: (189, 74),
                               },
                              ],
                             },
                             default: None,
                            },
                           },
                           Raw {
                            content: ".*)\"\n",
                           },
                          ],
                          position: (188, 19),
                         },
                         position: (186, 13),
                        },
                       },
                       Raw {
                        content: "\nif [[ $font == *.gz ]]; then\n  gzip -cd $font > $out/share/consolefonts/font.psf\nelse\n  cp -L $font $out/share/consolefonts/font.psf\nfi\n",
                       },
                      ],
                      position: (184, 42),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "assertions",
                        position: (197, 9),
                       },
                      ],
                     },
                     List {
                      elements: [
                       Map {
                        bindings: [
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "assertion",
                             position: (198, 11),
                            },
                           ],
                          },
                          UnaryOperation {
                           operator: Not,
                           operand: PropertyAccess {
                            expression: Variable {
                             identifier: "config",
                             position: (198, 24),
                            },
                            attribute_path: AttributePath {
                             attributes: [
                              Raw {
                               content: "boot",
                               position: (198, 31),
                              },
                              Raw {
                               content: "initrd",
                               position: (198, 36),
                              },
                              Raw {
                               content: "systemd",
                               position: (198, 43),
                              },
                              Raw {
                               content: "enable",
                               position: (198, 51),
                              },
                             ],
                            },
                            default: None,
                           },
                           position: (198, 23),
                          },
                         ),
                         KeyValue(
                          AttributePath {
                           attributes: [
                            Raw {
                             content: "message",
                             position: (199, 11),
                            },
                           ],
                          },
                          String {
                           parts: [
                            Raw {
                             content: "console.earlySetup is implied by systemd stage 1",
                            },
                           ],
                           position: (199, 21),
                          },
                         ),
                        ],
                        recursive: false,
                        position: (197, 23),
                       },
                      ],
                      position: (197, 22),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (183, 28),
                  },
                 ],
                },
               ],
               position: (132, 32),
              },
             ],
            },
           ],
          },
         ],
         position: (115, 20),
        },
       ],
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "imports",
         position: (205, 3),
        },
       ],
      },
      List {
       elements: [
        FunctionApplication {
         function: Variable {
          identifier: "mkRenamedOptionModule",
          position: (206, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "i18n",
              },
             ],
             position: (206, 30),
            },
            String {
             parts: [
              Raw {
               content: "consoleFont",
              },
             ],
             position: (206, 37),
            },
           ],
           position: (206, 28),
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "console",
              },
             ],
             position: (206, 55),
            },
            String {
             parts: [
              Raw {
               content: "font",
              },
             ],
             position: (206, 65),
            },
           ],
           position: (206, 53),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRenamedOptionModule",
          position: (207, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "i18n",
              },
             ],
             position: (207, 30),
            },
            String {
             parts: [
              Raw {
               content: "consoleKeyMap",
              },
             ],
             position: (207, 37),
            },
           ],
           position: (207, 28),
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "console",
              },
             ],
             position: (207, 57),
            },
            String {
             parts: [
              Raw {
               content: "keyMap",
              },
             ],
             position: (207, 67),
            },
           ],
           position: (207, 55),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRenamedOptionModule",
          position: (208, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "i18n",
              },
             ],
             position: (208, 30),
            },
            String {
             parts: [
              Raw {
               content: "consoleColors",
              },
             ],
             position: (208, 37),
            },
           ],
           position: (208, 28),
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "console",
              },
             ],
             position: (208, 57),
            },
            String {
             parts: [
              Raw {
               content: "colors",
              },
             ],
             position: (208, 67),
            },
           ],
           position: (208, 55),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRenamedOptionModule",
          position: (209, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "i18n",
              },
             ],
             position: (209, 30),
            },
            String {
             parts: [
              Raw {
               content: "consolePackages",
              },
             ],
             position: (209, 37),
            },
           ],
           position: (209, 28),
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "console",
              },
             ],
             position: (209, 59),
            },
            String {
             parts: [
              Raw {
               content: "packages",
              },
             ],
             position: (209, 69),
            },
           ],
           position: (209, 57),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRenamedOptionModule",
          position: (210, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "i18n",
              },
             ],
             position: (210, 30),
            },
            String {
             parts: [
              Raw {
               content: "consoleUseXkbConfig",
              },
             ],
             position: (210, 37),
            },
           ],
           position: (210, 28),
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "console",
              },
             ],
             position: (210, 63),
            },
            String {
             parts: [
              Raw {
               content: "useXkbConfig",
              },
             ],
             position: (210, 73),
            },
           ],
           position: (210, 61),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRenamedOptionModule",
          position: (211, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "boot",
              },
             ],
             position: (211, 30),
            },
            String {
             parts: [
              Raw {
               content: "earlyVconsoleSetup",
              },
             ],
             position: (211, 37),
            },
           ],
           position: (211, 28),
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "console",
              },
             ],
             position: (211, 62),
            },
            String {
             parts: [
              Raw {
               content: "earlySetup",
              },
             ],
             position: (211, 72),
            },
           ],
           position: (211, 60),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRenamedOptionModule",
          position: (212, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "boot",
              },
             ],
             position: (212, 30),
            },
            String {
             parts: [
              Raw {
               content: "extraTTYs",
              },
             ],
             position: (212, 37),
            },
           ],
           position: (212, 28),
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "console",
              },
             ],
             position: (212, 53),
            },
            String {
             parts: [
              Raw {
               content: "extraTTYs",
              },
             ],
             position: (212, 63),
            },
           ],
           position: (212, 51),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkRemovedOptionModule",
          position: (213, 6),
         },
         arguments: [
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "console",
              },
             ],
             position: (213, 30),
            },
            String {
             parts: [
              Raw {
               content: "extraTTYs",
              },
             ],
             position: (213, 40),
            },
           ],
           position: (213, 28),
          },
          String {
           parts: [
            Raw {
             content: "Since NixOS switched to systemd (circa 2012), TTYs have been spawned on\ndemand, so there is no need to configure them manually.\n",
            },
           ],
           position: (213, 54),
          },
         ],
        },
       ],
       position: (205, 13),
      },
     ),
    ],
    recursive: false,
    position: (41, 1),
   },
   position: (6, 1),
  },
  position: (4, 1),
 },
 position: (2, 1),
}