doc: fix make-disk-image.nix example

This commit is contained in:
Alyssa Ross 2024-06-04 20:18:50 +01:00
parent 57610d2f8f
commit 1a297df41b
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -85,14 +85,14 @@ let
in
make-disk-image {
inherit pkgs lib;
config = evalConfig {
inherit (evalConfig {
modules = [
{
fileSystems."/" = { device = "/dev/vda"; fsType = "ext4"; autoFormat = true; };
boot.grub.device = "/dev/vda";
}
];
};
}) config;
format = "qcow2";
onlyNixStore = false;
partitionTableType = "legacy+gpt";
@ -104,5 +104,3 @@ in
memSize = 2048; # Qemu VM memory size in megabytes. Defaults to 1024M.
}
```