mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
23 lines
347 B
Nix
23 lines
347 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
|
|
name = "bpftune";
|
|
|
|
meta = {
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
|
};
|
|
|
|
nodes = {
|
|
machine =
|
|
{ pkgs, ... }:
|
|
{
|
|
services.bpftune.enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("bpftune.service")
|
|
machine.wait_for_console_text("bpftune works")
|
|
'';
|
|
|
|
}
|