Commit fda87bf
committed
allow to prepare the VMWare image
This is more of a showcase of a feature which I really like with NixOS.
If the CI or another machine has Nix installed, it's possible to
generate a new VMDK directly from the NixOS configuration. Building and
copying the VMDK would replace almost all the bootstrap steps from the
video. A similar technique is also possible to generate AMIs and other
system images from the same config.
I wasn't able to test this unfortunately because I don't have VMWare
installed. You might have to set a password to the user using the NixOS
config as well in order to be able to login.1 parent a50d042 commit fda87bf
2 files changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
43 | 58 | | |
44 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 15 | | |
26 | 16 | | |
27 | 17 | | |
0 commit comments