diff --git a/nixos/htz/vms.nix b/nixos/htz/vms.nix index 0c449c7..3aa56f2 100644 --- a/nixos/htz/vms.nix +++ b/nixos/htz/vms.nix @@ -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"; }; };