2025-03-19 22:52:38 +03:00
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
|
|
name = "bios";
|
|
|
|
meta.maintainers = with lib.maintainers; [
|
|
|
|
lzcunt
|
|
|
|
phip1611
|
|
|
|
programmerlexi
|
|
|
|
];
|
|
|
|
meta.platforms = [
|
|
|
|
"i686-linux"
|
|
|
|
"x86_64-linux"
|
|
|
|
];
|
|
|
|
nodes.machine =
|
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
virtualisation.useBootLoader = true;
|
2025-05-26 13:35:23 +05:30
|
|
|
virtualisation.useBIOSBoot = true;
|
2025-03-19 22:52:38 +03:00
|
|
|
boot.loader.limine.enable = true;
|
|
|
|
boot.loader.limine.efiSupport = false;
|
|
|
|
boot.loader.timeout = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
machine.start()
|
|
|
|
with subtest('Machine boots correctly'):
|
|
|
|
machine.wait_for_unit('multi-user.target')
|
|
|
|
'';
|
|
|
|
}
|