Skip to content

Commit 90c9e3e

Browse files
authored
Merge pull request #37 from mkg20001/patch-1
Use gigabytes instead of "times 20" in disk size
2 parents 7f02c04 + 635a40c commit 90c9e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ To increase the CPU count use `virtualisation.cores` (defaults to 1):
9999

100100
## Hard drive
101101

102-
To increase the size of the virtual hard drive, i. e. times 20 (see [virtualisation] options at bottom, defaults to 512M):
102+
To increase the size of the virtual hard drive, i. e. to 20 GB (see [virtualisation] options at bottom, defaults to 512M):
103103

104104
```nix
105-
{ virtualisation.diskSize = 20 * 512; }
105+
{ virtualisation.diskSize = 20 * 1024; }
106106
```
107107

108108
Notice that for this option to become effective you may also need to delete previous block device files created by qemu (`nixos.qcow2`).

0 commit comments

Comments
 (0)