nixos/chrony: change chrony.keys owner to prevent chronyd user write access

This commit is contained in:
royce-c
2026-02-12 17:14:57 -08:00
parent a4100290f3
commit e81b4fb88a
@@ -276,7 +276,7 @@ in
systemd.tmpfiles.rules = [
"d ${stateDir} 0750 chrony chrony - -"
"f ${driftFile} 0640 chrony chrony - -"
"f ${keyFile} 0640 chrony chrony - -"
"f ${keyFile} 0640 root chrony - -"
]
++ lib.optionals cfg.enableRTCTrimming [
"f ${rtcFile} 0640 chrony chrony - -"