infra: boot a simple VM

This commit is contained in:
Raito Bezarius 2023-07-02 19:45:17 +02:00
parent 444a655fec
commit 8d187d1ef0
3 changed files with 15 additions and 4 deletions

View file

@ -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";
}