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

20 lines
284 B
Nix
Executable File

{
pkgs,
configTxt,
firmware ? pkgs.raspberrypifw,
}:
pkgs.replaceVarsWith {
src = ./firmware-builder.sh;
isExecutable = true;
replacements = {
inherit (pkgs) bash;
path = pkgs.lib.makeBinPath [
pkgs.coreutils
];
inherit firmware configTxt;
};
}