diff --git a/nixos/modules/services/networking/ntp/chrony.nix b/nixos/modules/services/networking/ntp/chrony.nix index b16e886788bb..8dac1de5c574 100644 --- a/nixos/modules/services/networking/ntp/chrony.nix +++ b/nixos/modules/services/networking/ntp/chrony.nix @@ -271,7 +271,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 - -"