mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-18 08:19:36 +01:00
Add wip netboot image gen
This commit is contained in:
parent
aaec735faf
commit
65bf5b2d4f
4 changed files with 291 additions and 1 deletions
|
|
@ -60,11 +60,12 @@
|
|||
libcamera-overlay = self.overlays.libcamera;
|
||||
};
|
||||
sd-image = import ./sd-image;
|
||||
net-image = import ./net-image;
|
||||
};
|
||||
nixosConfigurations = {
|
||||
rpi-example = srcs.nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
modules = [ self.nixosModules.raspberry-pi self.nixosModules.sd-image ./example ];
|
||||
modules = [ self.nixosModules.raspberry-pi self.nixosModules.sd-image self.nixosModules.net-image ./example ];
|
||||
};
|
||||
};
|
||||
checks.aarch64-linux = self.packages.aarch64-linux;
|
||||
|
|
@ -82,6 +83,7 @@
|
|||
in
|
||||
{
|
||||
example-sd-image = self.nixosConfigurations.rpi-example.config.system.build.sdImage;
|
||||
example-net-image = self.nixosConfigurations.rpi-example.config.system.build.netImage;
|
||||
firmware = pinned.raspberrypifw;
|
||||
libcamera = pinned.libcamera;
|
||||
wireless-firmware = pinned.raspberrypiWirelessFirmware;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue