16 lines
336 B
Nix
16 lines
336 B
Nix
{ modulesPath, ... }:
|
|
|
|
{
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
boot = {
|
|
loader.grub.device = "/dev/sda";
|
|
|
|
initrd = {
|
|
availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" ];
|
|
kernelModules = [ "nvme" ];
|
|
};
|
|
};
|
|
|
|
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
|
|
}
|