mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
images: init first own images
This commit is contained in:
parent
2066727d19
commit
6714075109
5 changed files with 141 additions and 1 deletions
9
images/rpi4-image.nix
Normal file
9
images/rpi4-image.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
# nix build .#install-sd-aarch64 --system aarch64-linux
|
||||
# zstd -vdcfT6 /nix/store/...-aarch64-linux.img/sd-image/...-aarch64-linux.img.zst | dd of=/dev/sdX status=progress bs=64K
|
||||
{ ... }: {
|
||||
nixpkgs.localSystem.system = "aarch64-linux";
|
||||
imports = [
|
||||
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
|
||||
./base-config.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue