2025-05-23 14:59:54 +05:30
|
|
|
{ lib, pkgs, ... }:
|
2025-05-21 21:13:26 +02:00
|
|
|
{
|
|
|
|
name = "specialisations";
|
2025-05-23 14:59:54 +05:30
|
|
|
meta = {
|
|
|
|
inherit (pkgs.limine.meta) maintainers;
|
|
|
|
};
|
|
|
|
|
2025-05-21 21:13:26 +02:00
|
|
|
nodes.machine =
|
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
virtualisation.useBootLoader = true;
|
|
|
|
virtualisation.useEFIBoot = true;
|
|
|
|
|
|
|
|
specialisation.test = { };
|
|
|
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
boot.loader.limine.enable = true;
|
|
|
|
boot.loader.limine.efiSupport = true;
|
|
|
|
boot.loader.timeout = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
machine.start()
|
|
|
|
with subtest('Machine boots correctly'):
|
|
|
|
machine.wait_for_unit('multi-user.target')
|
|
|
|
'';
|
|
|
|
}
|