Expose DNS setting in the network widget

This commit is contained in:
David Heinemeier Hansson
2026-05-17 19:51:29 +02:00
parent 8c01563c46
commit 27497b19bf
7 changed files with 192 additions and 102 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ echo "Reset DNS configuration to DHCP (remove forced Cloudflare DNS)"
# Reset DNS to use DHCP by default instead of forcing Cloudflare
# This preserves local development environments (.local domains, etc.)
# Users can still opt-in to Cloudflare DNS using: omarchy-setup-dns cloudflare
# Users can still opt-in to Cloudflare DNS using: omarchy-dns Cloudflare
if [[ -f /etc/systemd/resolved.conf ]]; then
# Backup current config with timestamp
@@ -27,5 +27,5 @@ if [[ -f /etc/systemd/resolved.conf ]]; then
sudo systemctl restart systemd-resolved
echo "DNS configuration reset to use DHCP (router DNS)"
echo "To use Cloudflare DNS, run: omarchy-setup-dns Cloudflare"
echo "To use Cloudflare DNS, run: omarchy-dns Cloudflare"
fi