Files
nix-config/modules/nixos/hardware/raspberry-pi/kernelboot-builder.nix
mjallen18 70002a19e2 hmm
2026-04-07 18:39:42 -05:00

21 lines
298 B
Nix
Executable File

{
pkgs,
firmwareBuilder,
}:
pkgs.replaceVarsWith {
src = ./kernelboot-builder.sh;
isExecutable = true;
replacements = {
inherit (pkgs) bash;
path = pkgs.lib.makeBinPath [
pkgs.coreutils
pkgs.gnused
];
inherit firmwareBuilder;
copyKernels = true;
};
}