summaryrefslogtreecommitdiffstats
path: root/nixos/tests/lact.nix
blob: ebfda66ad11edc219caa40287e8d33d6711209e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, ... }:
{
  name = "lact";
  meta = {
    inherit (pkgs.lact.meta) maintainers;
  };

  nodes.machine =
    { config, pkgs, ... }:
    {
      services.lact.enable = true;
    };

  testScript = ''
    machine.wait_for_unit("lactd.service")
    machine.wait_for_file("/run/lactd.sock")
  '';
}