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