15 lines
500 B
Nix
15 lines
500 B
Nix
{ inputs, ... }: {
|
|
disko = {
|
|
imageBuilder = {
|
|
# Avoid double emulation to significantly speed up image building process.
|
|
# Update the system according to your host system.
|
|
# See https://github.com/nix-community/disko/issues/856
|
|
qemu =
|
|
inputs.nixpkgs.legacyPackages.x86_64-linux.qemu
|
|
+ "/bin/qemu-system-aarch64 -M virt -cpu cortex-a57";
|
|
};
|
|
# Default image size is 2G for a small basic CLI system.
|
|
# devices.disk.main.imageSize = "2G";
|
|
};
|
|
}
|