Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos.timezone: set TZ to :/etc/localtime
This prevents glibc from calling stat() every time localtime() is called. This could be a significant performance problem if /etc is on an NFS filesystem. For systemd services, we point TZ to the actual time zone file instead of the /etc/localtime symlink so that systemd services are restarted if the time zone is changed. Fixes #23053
- Loading branch information
Showing
1 changed file
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters