summaryrefslogtreecommitdiffstats
path: root/nixos/tests/timekpr.nix
blob: 9f832d2b62dde0550faf3ee7be938f0e22ec982a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  lib,
  ...
}:

{
  name = "timekpr";
  meta.maintainers = [ lib.maintainers.atry ];

  containers.machine = {
    services.timekpr.enable = true;
  };

  testScript = ''
    start_all()
    machine.wait_for_file("/etc/timekpr/timekpr.conf")
    machine.wait_for_unit("timekpr.service")
  '';
}