diff --git a/modules/nixos/base/networking.nix b/modules/nixos/base/networking.nix index 21670c05..733c2bb0 100644 --- a/modules/nixos/base/networking.nix +++ b/modules/nixos/base/networking.nix @@ -1,4 +1,4 @@ -_: { +{ # Network discovery, mDNS # With this enabled, you can access your machine at .local # it's more convenient than using the IP address. @@ -12,4 +12,10 @@ _: { userServices = true; }; }; + + # Use an NTP server located in the mainland of China to synchronize the system time + networking.timeServers = [ + "ntp.aliyun.com" # Aliyun NTP Server + "ntp.tencent.com" # Tencent NTP Server + ]; }