1{
2 name = "scaphandre";
3
4 nodes.scaphandre =
5 { pkgs, ... }:
6 {
7 boot.kernelModules = [ "intel_rapl_common" ];
8
9 environment.systemPackages = [ pkgs.scaphandre ];
10 };
11
12 testScript = ''
13 scaphandre.start()
14 scaphandre.wait_until_succeeds(
15 "scaphandre stdout -t 4",
16 )
17 '';
18}