cron: set TZDIR so cron is able to find the TZ
This commit is contained in:
parent
006f328877
commit
ae2f280b67
|
@ -91,7 +91,10 @@ in
|
|||
startOn = "startup";
|
||||
|
||||
# Needed to interpret times in the local timezone.
|
||||
environment = { TZ = config.time.timeZone; };
|
||||
environment = {
|
||||
TZ = config.time.timeZone;
|
||||
TZDIR = "${pkgs.tzdata}/share/zoneinfo";
|
||||
};
|
||||
|
||||
path = [ cronNixosPkg ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue