File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 7575 } ] ;
7676 testing . enableTest = builtins . elem config . microvm . hypervisor [
7777 # Hypervisors that support 9p
78- "qemu" "crosvm" "kvmtool"
78+ "qemu" "kvmtool"
79+ # "crosvm"
7980 ] ;
8081 } ;
8182 } ) ] ;
8889 # overlay volume
8990 id = "overlay" ;
9091 modules = [ ( { config , ... } : {
91- microvm . writableStoreOverlay = "/nix/.rw-store" ;
92- microvm . volumes = [ {
93- image = "nix-store-overlay.img" ;
92+ microvm = {
93+ writableStoreOverlay = "/nix/.rw-store" ;
94+ volumes = [ {
95+ image = "nix-store-overlay.img" ;
9496 label = "nix-store" ;
95- mountPoint = config . microvm . writableStoreOverlay ;
96- size = 128 ;
97- } ] ;
97+ mountPoint = config . microvm . writableStoreOverlay ;
98+ size = 128 ;
99+ } ] ;
100+ testing . enableTest = builtins . elem config . microvm . hypervisor [
101+ # Known good
102+ "qemu" "cloud-hypervisor" "firecracker"
103+ ] ;
104+ } ;
98105 } ) ] ;
99106 } ]
100107 # boot.systemd
105112 boot . initrd . systemd . enable = false ;
106113 } ] ;
107114 } {
115+ # yes
108116 id = "systemd" ;
109117 modules = [ {
110118 boot . initrd . systemd . enable = true ;
You can’t perform that action at this time.
0 commit comments