Skip to content

Commit 995b1c5

Browse files
committed
nixos-modules/microvm/optimization: update doc
thanks to @nagisa
1 parent d350318 commit 995b1c5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

nixos-modules/microvm/optimization.nix

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ in
1717
options.microvm.optimize = {
1818
enable = lib.mkOption {
1919
description = lib.mdDoc ''
20-
Enables some optimizations to closure size and startup time:
21-
- disables X libraries for non-graphical VMs
20+
Enables some optimizations by default to closure size and startup time:
2221
- defaults documentation to off
2322
- defaults to using systemd in initrd
24-
- builds qemu without graphics or sound for non-graphical qemu VMs
23+
- use systemd-networkd
24+
- disables systemd-network-wait-online
25+
- disables NixOS system switching if the host store is not mounted
2526
2627
This takes a few hundred MB off the closure size, including qemu,
27-
allowing for putting microvms inside Docker containers.
28-
29-
May cause more build time by e.g. rebuilding qemu.
28+
allowing for putting MicroVMs inside Docker containers.
3029
'';
3130

3231
type = lib.types.bool;

0 commit comments

Comments
 (0)