add hypervisor
This commit is contained in:
12
hosts/fw.cloonar.com/modules/hypervisor/baseline-qemu.nix
Normal file
12
hosts/fw.cloonar.com/modules/hypervisor/baseline-qemu.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user