mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-16 16:09:40 +01:00
12 lines
405 B
Nix
12 lines
405 B
Nix
# 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;
|
|
}
|