nixpkgs-immich/nixos/tests/earlyoom.nix

17 lines
301 B
Nix
Raw Permalink Normal View History

2024-09-17 10:23:40 -06:00
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")
'';
})