nixpkgs/nixos/tests/ergo.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
397 B
Nix
Raw Permalink Normal View History

{ pkgs, ... }:
{
name = "ergo";
meta = with pkgs.lib.maintainers; {
maintainers = [ mmahut ];
};
2020-05-24 20:39:23 +02:00
nodes = {
machine =
{ ... }:
{
services.ergo.enable = true;
services.ergo.api.keyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf";
};
};
2020-05-24 20:39:23 +02:00
testScript = ''
start_all()
machine.wait_for_unit("ergo.service")
'';
}