Fediversity/infra/common/nixos/hardware.nix
Kiara Grouwstra 61885e6e82
kill disko
systemd-boot requires 'ovmf' bios
2025-04-21 16:20:15 +02:00

25 lines
421 B
Nix

{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd = {
availableKernelModules = [
"ata_piix"
"uhci_hcd"
"virtio_pci"
"virtio_scsi"
"sd_mod"
"sr_mod"
];
kernelModules = [ "dm-snapshot" ];
};
};
}