Add simple VM
This commit is contained in:
parent
0c78b13ceb
commit
ad87c44701
8 changed files with 138 additions and 0 deletions
10
hosts/qemu/boot/default.nix
Normal file
10
hosts/qemu/boot/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue