add hypervisor

This commit is contained in:
2023-12-01 19:25:01 +01:00
parent aed7c73032
commit 5acea13591
5 changed files with 209 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
{
imports = [ ./baseline.nix ];
fileSystems."/".device = "/dev/disk/by-label/nixos";
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "virtio_balloon" "virtio_blk" "virtio_pci" "virtio_ring" ];
boot.loader = {
grub = {
version = 2;
device = "/dev/vda";
};
timeout = 0;
};
}