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