mirror of
https://github.com/ivabus/nixos
synced 2024-11-23 17:05:06 +03:00
12 lines
340 B
Nix
12 lines
340 B
Nix
|
{ modulesPath, ... }: {
|
||
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||
|
boot.loader.grub.device = "/dev/vda";
|
||
|
boot.initrd.availableKernelModules =
|
||
|
[ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
||
|
boot.initrd.kernelModules = [ "nvme" ];
|
||
|
fileSystems."/" = {
|
||
|
device = "/dev/vda1";
|
||
|
fsType = "ext4";
|
||
|
};
|
||
|
}
|