Skip to content
Commit 0ce90d58 authored by Austin Seipp's avatar Austin Seipp
Browse files

nixos/chrony: clean up, rework to be a little closer to upstream



Most importantly, this sets PrivateTmp, ProtectHome, and ProtectSystem
so that Chrony flaws are mitigated, should they occur.

Moving to ProtectSystem=full however, requires moving the chrony key
files under /var/lib/chrony -- which should be fine, anyway.

This also ensures ConditionCapability=CAP_SYS_TIME is set, ensuring
that chronyd will only be launched in an environment where such a
capability can be granted.

Signed-off-by: default avatarAustin Seipp <aseipp@pobox.com>
parent 6ebad082
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment