Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
532 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{ lib, pkgs, ... }:
{
name = "refind";
meta = {
inherit (pkgs.refind.meta) maintainers;
};
nodes.machine =
{ ... }:
{
virtualisation.useBootLoader = true;
virtualisation.useEFIBoot = true;
boot.loader.grub.enable = false;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.refind.enable = true;
boot.loader.timeout = 1;
};
testScript = ''
machine.start()
with subtest('Machine boots correctly'):
machine.wait_for_unit('multi-user.target')
'';
}