microvm testing
This commit is contained in:
parent
441d9785c9
commit
94ebce046b
1 changed files with 10 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
{ ... }: {
|
{ self, ... }: {
|
||||||
microvm.vms = {
|
microvm.vms = {
|
||||||
vm-test = {
|
vm-test = {
|
||||||
|
flake = self;
|
||||||
|
updateFlake = "github:iofq/nix";
|
||||||
config = {
|
config = {
|
||||||
microvm.shares = [{
|
microvm.shares = [{
|
||||||
source = "/nix/store";
|
source = "/nix/store";
|
||||||
|
|
@ -8,6 +10,13 @@
|
||||||
tag = "ro-store";
|
tag = "ro-store";
|
||||||
proto = "virtiofs";
|
proto = "virtiofs";
|
||||||
}];
|
}];
|
||||||
|
microvm.interfaces = [
|
||||||
|
{
|
||||||
|
type = "tap";
|
||||||
|
id = "vm-test";
|
||||||
|
mac = "02:00:00:00:00:01";
|
||||||
|
}
|
||||||
|
];
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue