From a05f6cb31f2e09830c015c2cf1d0766b4c3a7fcb Mon Sep 17 00:00:00 2001 From: elwrcl Date: Sat, 11 Apr 2026 15:57:41 +0300 Subject: [PATCH] refactor: switch from timesyncd to chrony for time synchronization --- nixos/system/locale/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nixos/system/locale/default.nix b/nixos/system/locale/default.nix index cdb5977..f7e75eb 100644 --- a/nixos/system/locale/default.nix +++ b/nixos/system/locale/default.nix @@ -1,10 +1,7 @@ { config, pkgs, ... }: - { time.timeZone = "Europe/Istanbul"; - i18n.defaultLocale = "en_US.UTF-8"; - i18n.extraLocaleSettings = { LC_ADDRESS = "tr_TR.UTF-8"; LC_IDENTIFICATION = "tr_TR.UTF-8"; @@ -17,16 +14,19 @@ LC_TIME = "tr_TR.UTF-8"; }; - services.timesyncd = { + services.chrony = { enable = true; servers = [ "0.tr.pool.ntp.org" "1.tr.pool.ntp.org" "time.cloudflare.com" ]; + extraConfig = '' + makestep 1.0 3 + rtcsync + ''; }; console.keyMap = "trq"; - system.stateVersion = "25.05"; }