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 = {
|
||||
vm-test = {
|
||||
flake = self;
|
||||
updateFlake = "github:iofq/nix";
|
||||
config = {
|
||||
microvm.shares = [{
|
||||
source = "/nix/store";
|
||||
|
|
@ -8,6 +10,13 @@
|
|||
tag = "ro-store";
|
||||
proto = "virtiofs";
|
||||
}];
|
||||
microvm.interfaces = [
|
||||
{
|
||||
type = "tap";
|
||||
id = "vm-test";
|
||||
mac = "02:00:00:00:00:01";
|
||||
}
|
||||
];
|
||||
system.stateVersion = "23.11";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue