various snippets #
# install nix (on linux)
curl --proto '=https' --tlsv1.2 -sSf -L \
https://install.determinate.systems/nix | sh -s -- install
# fetch files from remote git repo
git archive --remote=ssh://hostname/repo.git HEAD README.md | tar xO
# local coredns tls proxy
. {
bind 127.0.0.1
forward . tls://1.1.1.1 {
except lxd.local
tls_servername cloudflare-dns.com
}
# errors
cache 30
# log
}