at master 573 B view raw
1{ lib, ... }: 2{ 3 name = "bios"; 4 meta.maintainers = with lib.maintainers; [ 5 lzcunt 6 phip1611 7 programmerlexi 8 ]; 9 meta.platforms = [ 10 "i686-linux" 11 "x86_64-linux" 12 ]; 13 nodes.machine = 14 { ... }: 15 { 16 virtualisation.useBootLoader = true; 17 virtualisation.useBIOSBoot = true; 18 boot.loader.limine.enable = true; 19 boot.loader.limine.efiSupport = false; 20 boot.loader.timeout = 0; 21 }; 22 23 testScript = '' 24 machine.start() 25 with subtest('Machine boots correctly'): 26 machine.wait_for_unit('multi-user.target') 27 ''; 28}