+2
-4
doc/build-helpers/images/makediskimage.section.md
+2
-4
doc/build-helpers/images/makediskimage.section.md
···
85
85
in
86
86
make-disk-image {
87
87
inherit pkgs lib;
88
-
config = evalConfig {
88
+
inherit (evalConfig {
89
89
modules = [
90
90
{
91
91
fileSystems."/" = { device = "/dev/vda"; fsType = "ext4"; autoFormat = true; };
92
92
boot.grub.device = "/dev/vda";
93
93
}
94
94
];
95
-
};
95
+
}) config;
96
96
format = "qcow2";
97
97
onlyNixStore = false;
98
98
partitionTableType = "legacy+gpt";
···
104
104
memSize = 2048; # Qemu VM memory size in megabytes. Defaults to 1024M.
105
105
}
106
106
```
107
-
108
-