When connections on Omarchy keep dropping, pings and pages work, then they don’t. The cause is usually an unstable IPv6 route, a DNS stub that isn’t wired up, and the system waiting on AAAA for every lookup. Here’s what cleans it up.

Pull IPv4 over DHCP

Add a *.network file under /etc/systemd/network/ for the interface:

[Match]
Name=wlan0

[Network]
DHCP=ipv4
DNS=1.1.1.1 8.8.8.8
IPv6AcceptRA=yes

[DHCPv4]
ClientIdentifier=mac

Check the interface name with ip link.

Point resolv.conf at the stub

sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
sudo systemctl enable --now systemd-resolved

Prefer IPv4 over IPv6

Add to /etc/gai.conf, or create the file:

precedence ::ffff:0:0/96  100

Apply

sudo systemctl restart systemd-networkd systemd-resolved
resolvectl status

resolvectl status shows the active DNS server per interface. If the expected one is listed and pings stop stalling, you’re done.