1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware.git synced 2024-10-18 14:35:21 -04:00
nixos-hardware/starfive/visionfive/v1/sd-image-installer.nix

13 lines
405 B
Nix
Raw Normal View History

2022-10-08 11:27:03 -04:00
# To build, use:
# nix-build "<nixpkgs/nixos>" -I nixos-config=starfive/visionfive/v1/sd-image-installer.nix -A config.system.build.sdImage
{
imports = [
<nixpkgs/nixos/modules/profiles/installation-device.nix>
./sd-image.nix
];
# the installation media is also the installation target,
# so we don't want to provide the installation configuration.nix.
installer.cloneConfig = false;
}