Skip to content

Set the clock from ntp.omarchy.org instead of Arch's pool - #16247

Merged
emirb merged 1 commit into
quattrofrom
ntp-omarchy
Oct 22, 2026
Merged

emirb merged 1 commit into
quattrofrom
ntp-omarchy

Conversation

@emirb

@emirb emirb commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Every Omarchy machine sets its clock from Arch's NTP Pool vendor zone today. systemd-timesyncd's compiled-in fallback is 0..3.arch.pool.ntp.org, and nothing in Omarchy names a server.

This adds a vendor drop-in, default/systemd/timesyncd.conf.d/10-omarchy.conf, which omarchy-settings installs to /usr/lib/systemd/timesyncd.conf.d/ (omacom/omarchy-pkgs#1466). It sets:

[Time]
FallbackNTP=ntp.omarchy.org time.cloudflare.com
  • ntp.omarchy.org is our own name, so we can change where it points without an Omarchy release. Today it is a DNS-only CNAME to 2.arch.pool.ntp.org, the same Arch pool servers machines use now, plus IPv6. Later it moves to Omarchy's own pool vendor zone, or to steering by country that sends China to Alibaba and Tencent.
  • time.cloudflare.com answers if ntp.omarchy.org does not resolve or no server replies.
  • FallbackNTP= stays below any NTP= an admin sets and below servers a network hands out through systemd-networkd. Setting it replaces the compiled-in list (timesyncd-conf.c, fallback_set).
  • The drop-in lives in /usr/lib, so a user's own drop-in in /etc overrides it and pacman never writes a .pacnew.

No migration: timesyncd reads the new list the next time it starts, at the next boot.

timesyncd's compiled-in fallback is 0-3.arch.pool.ntp.org, so every
Omarchy machine asks Arch's NTP Pool vendor zone for the time. A
vendor drop-in in /usr/lib/systemd/timesyncd.conf.d sets FallbackNTP to
ntp.omarchy.org, then time.cloudflare.com if that does not answer.

ntp.omarchy.org is a name we control, so where it points can change
without an Omarchy update: today a CNAME to 2.arch.pool.ntp.org (the
pool's IPv6 zone, the same servers as now), later Omarchy's own vendor
zone. FallbackNTP stays below any NTP= an admin sets and any server a
network hands out through systemd-networkd.

The drop-in lives in /usr/lib, not /etc, so a user's own drop-in in
/etc overrides it and pacman never leaves a .pacnew. omarchy-settings
installs it on both architectures (omacom/omarchy-pkgs, same change).
It takes effect when timesyncd next starts, at the next boot.
@greptile-apps

greptile-apps Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found.

Summary

Adds a vendor drop-in that sets FallbackNTP=ntp.omarchy.org time.cloudflare.com.

  • Omarchy machines use Omarchy’s time servers as their fallback.

Reviews (1) · Last reviewed commit: "Set the clock from ntp.omarchy.org inste..." · Reviewed by Greptile

@omarchybot omarchybot added the enhancement New feature or request label Oct 22, 2026
@emirb
emirb merged commit 976872f into quattro Oct 22, 2026
2 checks passed
@emirb emirb added this to the 4.5 milestone Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants