nix-powerpc/sd-image.nix
2025-02-10 11:47:09 +00:00

10 lines
260 B
Nix

{ config, ... }:
{
sdImage = {
populateFirmwareCommands = "";
populateRootCommands = ''
mkdir -p ./files/boot
${config.boot.loader.generic-extlinux-compatible.populateCmd} -c ${config.system.build.toplevel} -d ./files/boot
'';
};
}