about summary refs log tree commit diff
path: root/nixos/tests/ergo.nix
blob: b49e0c9dfed73ba3dbf583810efd4cb354294edb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import ./make-test-python.nix ({ pkgs, ... }: {
  name = "ergo";
  meta = with pkgs.lib.maintainers; {
    maintainers = [ mmahut ];
  };

  nodes = {
    machine = { ... }: {
      services.ergo.enable = true;
      services.ergo.api.keyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf";
    };
  };

  testScript = ''
    start_all()
    machine.wait_for_unit("ergo.service")
  '';
})