- Edit the
/etc/systemd/timesyncd.conf
file. Uncomment the lines after [time]:
[Time]
NTP=
FallbackNTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org
3.arch.pool.ntp.org
RootDistanceMaxSec=5
PollIntervalMinSec=32
PollIntervalMaxSec=2048
ConnectionRetrySec=30
SaveIntervalSec=60
- Restart the
systemd-timesyncd
service:
sudo systemctl restart systemd-timesyncd
- update timedatectl sync setup:
sudo timedatectl set-ntp true