mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
17 lines
286 B
Nix
17 lines
286 B
Nix
|
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")
|
||
|
'';
|
||
|
})
|