19 lines
498 B
Nix
19 lines
498 B
Nix
{
|
|
lib,
|
|
modulesPath,
|
|
...
|
|
}: {
|
|
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
|
boot.loader.grub.device = "/dev/nvme0n1";
|
|
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
|
|
boot.initrd.kernelModules = ["nvme"];
|
|
fileSystems."/" = {
|
|
device = "/dev/mapper/vg-root";
|
|
fsType = "btrfs";
|
|
};
|
|
fileSystems."/var" = {
|
|
device = "/dev/mapper/vg-var";
|
|
fsType = "btrfs";
|
|
};
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
}
|