Etc

various snippets #

# install nix (on linux)
curl --proto '=https' --tlsv1.2 -sSf -L \
  https://install.determinate.systems/nix | sh -s -- install

(nix installer usage)


# 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
}