blob: 236e84017be62b9a6719150a8379c760f7e796cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ pkgs, lib, ... }:
{
name = "scx-loader";
meta.maintainers = with lib.maintainers; [ ccicnce113424 ];
nodes.machine = {
boot.kernelPackages = pkgs.linuxPackages_latest;
services.scx-loader = {
enable = true;
config.default_sched = "scx_bpfland";
};
};
testScript = ''
machine.wait_for_unit("multi-user.target")
output = machine.succeed("scxctl get").strip()
assert output == "running Bpfland in Auto mode", f"Unexpected scxctl output: {output!r}"
'';
}
|