at master 580 B view raw
1{ lib, pkgs, ... }: 2{ 3 name = "specialisations"; 4 meta = { 5 inherit (pkgs.limine.meta) maintainers; 6 }; 7 8 nodes.machine = 9 { ... }: 10 { 11 virtualisation.useBootLoader = true; 12 virtualisation.useEFIBoot = true; 13 14 specialisation.test = { }; 15 16 boot.loader.efi.canTouchEfiVariables = true; 17 boot.loader.limine.enable = true; 18 boot.loader.limine.efiSupport = true; 19 boot.loader.timeout = 0; 20 }; 21 22 testScript = '' 23 machine.start() 24 with subtest('Machine boots correctly'): 25 machine.wait_for_unit('multi-user.target') 26 ''; 27}