20 lines
548 B
Nix
20 lines
548 B
Nix
{modulesPath, ...}: {
|
|
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
|
boot.loader.grub = {
|
|
efiSupport = true;
|
|
efiInstallAsRemovable = true;
|
|
device = "nodev";
|
|
};
|
|
fileSystems."/boot/efi" = {
|
|
device = "/dev/disk/by-uuid/CC2E-AEC0";
|
|
fsType = "vfat";
|
|
};
|
|
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront"];
|
|
boot.initrd.kernelModules = ["nvme"];
|
|
fileSystems."/" = {
|
|
device = "/dev/mapper/ocivolume-root";
|
|
fsType = "xfs";
|
|
};
|
|
}
|