make genepi boot again
This commit is contained in:
parent
03c97d8431
commit
628b996be4
4 changed files with 42 additions and 16 deletions
24
flake.nix
24
flake.nix
|
|
@ -115,6 +115,30 @@
|
|||
];
|
||||
}
|
||||
);
|
||||
|
||||
packages.aarch64-linux.genepi-installer-sd-image = nixos-generators.nixosGenerate {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit (import ./parts) keys;
|
||||
};
|
||||
system = "aarch64-linux";
|
||||
format = "sd-aarch64-installer";
|
||||
modules = [
|
||||
nixos-hardware.nixosModules.raspberry-pi-4
|
||||
./system/core
|
||||
./machines/genepi/network.nix
|
||||
./machines/genepi/hardware-configuration.nix
|
||||
{ networking.hostName = "genepi"; }
|
||||
{ sdImage.compressImage = false; }
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(final: super: {
|
||||
makeModulesClosure = x: super.makeModulesClosure (x // { allowMissing = true; });
|
||||
})
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
inputs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue