From 5979dd7cce47562751f8c5fa95028499de302da4 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 18 Oct 2024 15:34:49 +0200 Subject: [PATCH] Add timesyncd service --- nixos/common/modules/networking.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/common/modules/networking.nix b/nixos/common/modules/networking.nix index 3da38f86..66371cb6 100644 --- a/nixos/common/modules/networking.nix +++ b/nixos/common/modules/networking.nix @@ -14,4 +14,15 @@ allowedUDPPorts = [ ]; }; }; + + # Enable NTP + services.timesyncd = { + enable = true; + servers = [ + "0.nixos.pool.ntp.org" + "1.nixos.pool.ntp.org" + "2.nixos.pool.ntp.org" + "3.nixos.pool.ntp.org" + ]; + }; }