Skip to content

Commit cae48ed

Browse files
committed
fix: update ntp time servers
1 parent 9535c09 commit cae48ed

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

modules/nixos/base/networking.nix

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_: {
1+
{
22
# Network discovery, mDNS
33
# With this enabled, you can access your machine at <hostname>.local
44
# it's more convenient than using the IP address.
@@ -12,4 +12,10 @@ _: {
1212
userServices = true;
1313
};
1414
};
15+
16+
# Use an NTP server located in the mainland of China to synchronize the system time
17+
networking.timeServers = [
18+
"ntp.aliyun.com" # Aliyun NTP Server
19+
"ntp.tencent.com" # Tencent NTP Server
20+
];
1521
}

0 commit comments

Comments
 (0)