mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-08 13:55:07 +02:00
fix: update ntp time servers
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
_: {
|
{
|
||||||
# Network discovery, mDNS
|
# Network discovery, mDNS
|
||||||
# With this enabled, you can access your machine at <hostname>.local
|
# With this enabled, you can access your machine at <hostname>.local
|
||||||
# it's more convenient than using the IP address.
|
# it's more convenient than using the IP address.
|
||||||
@@ -12,4 +12,10 @@ _: {
|
|||||||
userServices = true;
|
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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user