mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-10 01:33:11 +01:00
18 lines
326 B
Nix
18 lines
326 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
name = "timekpr";
|
|
meta.maintainers = [ lib.maintainers.atry ];
|
|
|
|
nodes.machine =
|
|
{ pkgs, lib, ... }:
|
|
{
|
|
services.timekpr.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
machine.wait_for_file("/etc/timekpr/timekpr.conf")
|
|
machine.wait_for_unit("timekpr.service")
|
|
'';
|
|
}
|