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 70
70
} ] ;
71
71
testing . enableTest = builtins . elem config . microvm . hypervisor [
72
72
# Hypervisors that support 9p
73
- "qemu" "crosvm" "kvmtool"
73
+ "qemu" "kvmtool"
74
+ # "crosvm"
74
75
] ;
75
76
} ;
76
77
} ) ] ;
83
84
# overlay volume
84
85
id = "overlay" ;
85
86
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" ;
89
91
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
+ } ;
93
100
} ) ] ;
94
101
} ]
95
102
# boot.systemd
100
107
boot . initrd . systemd . enable = false ;
101
108
} ] ;
102
109
} {
110
+ # yes
103
111
id = "systemd" ;
104
112
modules = [ {
105
113
boot . initrd . systemd . enable = true ;
You can’t perform that action at this time.
0 commit comments