depot/third_party/nixpkgs/nixos/tests/earlyoom.nix

17 lines
286 B
Nix
Raw Normal View History

import ./make-test-python.nix ({ lib, ... }: {
name = "earlyoom";
meta = {
maintainers = with lib.maintainers; [ ncfavier ];
};
machine = {
services.earlyoom = {
enable = true;
};
};
testScript = ''
machine.wait_for_unit("earlyoom.service")
'';
})