{ config, pkgs, lib, ... }: { # SeaBIOS / legacy BIOS bootloader settings for VMs # Bootloader - GRUB for Legacy BIOS boot.loader.systemd-boot.enable = lib.mkForce false; boot.loader.grub = { enable = true; device = "/dev/sda"; efiSupport = false; }; boot.initrd.availableKernelModules = ["virtio_pci" "virtio_scsi" "ahci" "sd_mod" "virtio_blk"]; fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; }