Files
nix-config/modules/nixos/hardware/raspberry-pi/firmware-builder.nix
mjallen18 56154fe941 check
2026-01-02 20:30:05 -06:00

20 lines
284 B
Nix

{
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;
};
}