12 lines
375 B
Bash
12 lines
375 B
Bash
servers="1.1.1.1 9.9.9.9"
|
|
|
|
# omarchy:heredoc-expands paths=none -- $servers is a validated IP list, not a path
|
|
cat <<EOF | sudo tee /etc/omarchy/dns.conf >/dev/null
|
|
servers=$servers
|
|
EOF
|
|
|
|
# omarchy:heredoc-expands paths=storage -- validated by valid_path and symlink-checked before use
|
|
cat <<EOF | sudo tee /var/lib/omarchy/mounts.conf >/dev/null
|
|
source=$storage:/storage
|
|
EOF
|