mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
22 lines
389 B
Nix
22 lines
389 B
Nix
{ lib, ... }:
|
|
{
|
|
name = "seerr";
|
|
meta.maintainers = with lib.maintainers; [
|
|
matteopacini
|
|
fallenbagel
|
|
];
|
|
|
|
nodes.machine =
|
|
{ pkgs, ... }:
|
|
{
|
|
services.seerr.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
machine.start()
|
|
machine.wait_for_unit("seerr.service")
|
|
machine.wait_for_open_port(5055)
|
|
machine.succeed("curl --fail http://localhost:5055/")
|
|
'';
|
|
}
|