blob: a6defcfa18ea2b75f9ded38c833d02b29abcb87c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ lib, ... }:
let
clientNodeName = "client";
in
{
name = "tzupdate";
# TODO: Test properly:
# - Add server node
# - Add client configuration to talk to the server node
# - Assert that the time zone changes appropriately
nodes.${clientNodeName} = {
services.tzupdate.enable = true;
};
testScript = ''
start_all()
${clientNodeName}.wait_for_unit("multi-user.target")
'';
meta.maintainers = [ lib.maintainers.l0b0 ];
}
|