nixos-hardware/starfive/visionfive/v1/sd-image-installer.nix

15 lines
421 B
Nix
Raw Permalink 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
{ modulesPath, ... }:
2022-10-08 11:27:03 -04:00
{
imports = [
"${modulesPath}/profiles/installation-device.nix"
2022-10-08 11:27:03 -04:00
./sd-image.nix
];
# 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;
}