Skip to content

Commit

Permalink
fix: update ntp time servers
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Aug 11, 2024
1 parent 9535c09 commit cae48ed
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/nixos/base/networking.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
_: {
{
# Network discovery, mDNS
# With this enabled, you can access your machine at <hostname>.local
# it's more convenient than using the IP address.
Expand All @@ -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
];
}

0 comments on commit cae48ed

Please sign in to comment.