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 75
75
} ] ;
76
76
testing . enableTest = builtins . elem config . microvm . hypervisor [
77
77
# Hypervisors that support 9p
78
- "qemu" "crosvm" "kvmtool"
78
+ "qemu" "kvmtool"
79
+ # "crosvm"
79
80
] ;
80
81
} ;
81
82
} ) ] ;
88
89
# overlay volume
89
90
id = "overlay" ;
90
91
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" ;
94
96
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
+ } ;
98
105
} ) ] ;
99
106
} ]
100
107
# boot.systemd
105
112
boot . initrd . systemd . enable = false ;
106
113
} ] ;
107
114
} {
115
+ # yes
108
116
id = "systemd" ;
109
117
modules = [ {
110
118
boot . initrd . systemd . enable = true ;
You can’t perform that action at this time.
0 commit comments