bruh
This commit is contained in:
18
modules/nixos/hardware/raspberry-pi/firmware-builder.nix
Normal file
18
modules/nixos/hardware/raspberry-pi/firmware-builder.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user