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