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