infra: boot a simple VM
This commit is contained in:
parent
444a655fec
commit
8d187d1ef0
3 changed files with 15 additions and 4 deletions
|
@ -10,6 +10,14 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
virtualisation.nvisor.vms = {
|
||||
vm01 = {
|
||||
config = { pkgs, ... }: {
|
||||
environment.systemPackages = [ pkgs.hello ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
simd.arch = "znver3";
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
|
Reference in a new issue