2024-03-29 09:05:08 +03:00
|
|
|
{ lib, ... }: {
|
2024-05-04 23:15:57 +03:00
|
|
|
# This host is running inside BIOS VM so it needs the Grub.
|
2024-03-29 09:05:08 +03:00
|
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
|
|
|
boot.loader.grub.enable = true;
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
boot.loader.grub.useOSProber = true;
|
|
|
|
|
|
|
|
fileSystems."/" = lib.mkForce {
|
|
|
|
device = "/dev/sda2";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
fileSystems."/boot" = lib.mkForce {
|
|
|
|
device = "/dev/sda1";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
}
|