Initial firmware infra

This commit is contained in:
2024-08-31 16:07:55 +01:00
parent 97cb513fd5
commit 8c9e57f97b
6 changed files with 62 additions and 0 deletions

8
firmware/target/rpi3.nix Normal file
View File

@@ -0,0 +1,8 @@
{ pkgs, modulesPath, config, ... }: {
imports = [
"${modulesPath}/installer/sd-card/sd-image-aarch64.nix"
];
nixpkgs.system = "aarch64-linux";
my.build.image = config.system.build.sdImage;
}