mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
16 lines
301 B
Nix
16 lines
301 B
Nix
import ./make-test-python.nix ({ lib, ... }: {
|
|
name = "earlyoom";
|
|
meta = {
|
|
maintainers = with lib.maintainers; [ ncfavier AndersonTorres ];
|
|
};
|
|
|
|
machine = {
|
|
services.earlyoom = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("earlyoom.service")
|
|
'';
|
|
})
|