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 7070 } ] ;
7171 testing . enableTest = builtins . elem config . microvm . hypervisor [
7272 # Hypervisors that support 9p
73- "qemu" "crosvm" "kvmtool"
73+ "qemu" "kvmtool"
74+ # "crosvm"
7475 ] ;
7576 } ;
7677 } ) ] ;
8384 # overlay volume
8485 id = "overlay" ;
8586 modules = [ ( { config , ... } : {
86- microvm . writableStoreOverlay = "/nix/.rw-store" ;
87- microvm . volumes = [ {
88- image = "nix-store-overlay.img" ;
87+ microvm = {
88+ writableStoreOverlay = "/nix/.rw-store" ;
89+ volumes = [ {
90+ image = "nix-store-overlay.img" ;
8991 label = "nix-store" ;
90- mountPoint = config . microvm . writableStoreOverlay ;
91- size = 128 ;
92- } ] ;
92+ mountPoint = config . microvm . writableStoreOverlay ;
93+ size = 128 ;
94+ } ] ;
95+ testing . enableTest = builtins . elem config . microvm . hypervisor [
96+ # Known good
97+ "qemu" "cloud-hypervisor" "firecracker"
98+ ] ;
99+ } ;
93100 } ) ] ;
94101 } ]
95102 # boot.systemd
100107 boot . initrd . systemd . enable = false ;
101108 } ] ;
102109 } {
110+ # yes
103111 id = "systemd" ;
104112 modules = [ {
105113 boot . initrd . systemd . enable = true ;
You can’t perform that action at this time.
0 commit comments