2 # nix-build nixos -I nixos-config=nixos/modules/installer/sd-card/sd-image-x86_64.nix -A config.system.build.sdImage
4 # This image is primarily used in NixOS tests (boot.nix) to test `boot.loader.generic-extlinux-compatible`.
5 { config, lib, pkgs, ... }:
9 ../../profiles/base.nix
15 generic-extlinux-compatible.enable = true;
18 boot.consoleLogLevel = lib.mkDefault 7;
21 populateFirmwareCommands = "";
22 populateRootCommands = ''
24 ${config.boot.loader.generic-extlinux-compatible.populateCmd} -c ${config.system.build.toplevel} -d ./files/boot