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
|
2022-11-04 12:55:16 -04:00
|
|
|
{ modulesPath, ... }:
|
|
|
|
|
2022-10-08 11:27:03 -04:00
|
|
|
{
|
|
|
|
imports = [
|
2022-11-04 12:55:16 -04:00
|
|
|
"${modulesPath}/profiles/installation-device.nix"
|
2022-10-08 11:27:03 -04:00
|
|
|
./sd-image.nix
|
|
|
|
];
|
|
|
|
|
2022-11-04 12:55:16 -04:00
|
|
|
# The installation media is also the installation target,
|
2022-10-08 11:27:03 -04:00
|
|
|
# so we don't want to provide the installation configuration.nix.
|
|
|
|
installer.cloneConfig = false;
|
|
|
|
}
|