mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00

also adds @programmerlexi to limine package maintainers Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
27 lines
580 B
Nix
27 lines
580 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
name = "specialisations";
|
|
meta = {
|
|
inherit (pkgs.limine.meta) maintainers;
|
|
};
|
|
|
|
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')
|
|
'';
|
|
}
|