add hypervisor
This commit is contained in:
parent
aed7c73032
commit
5acea13591
5 changed files with 209 additions and 6 deletions
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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue