nixos/chrony: change chrony.keys owner to prevent chronyd user write access
This commit is contained in:
@@ -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 - -"
|
||||
|
||||
Reference in New Issue
Block a user