2024-11-20 16:06:44 +01:00
|
|
|
{ modulesPath, ... }:
|
|
|
|
|
2024-11-20 16:04:22 +01:00
|
|
|
{
|
2024-11-20 16:06:44 +01:00
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
|
2024-11-20 16:04:22 +01:00
|
|
|
boot = {
|
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
initrd = {
|
|
|
|
availableKernelModules = [
|
|
|
|
"ata_piix"
|
|
|
|
"uhci_hcd"
|
2024-11-20 16:06:44 +01:00
|
|
|
"virtio_pci"
|
|
|
|
"virtio_scsi"
|
|
|
|
"sd_mod"
|
2024-11-20 16:04:22 +01:00
|
|
|
"sr_mod"
|
|
|
|
];
|
|
|
|
kernelModules = [ "dm-snapshot" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|