-
I sit behind a webproxy with kerberos authentication. Can, and if yes, how do I configure chezmoi to use kerberos or alternatively username and password to authenticate against the webproxy
[ ".local/share/externals/atuin/" ]
type = "archive"
url = "https://github.com/atuinsh/atuin/releases/download/v18.6.1/atuin-x86_64-unknown-linux-musl.tar.gz"
exact = true
stripComponents = 1
refreshPeriod = "168h"
executable = true However
|
Beta Was this translation helpful? Give feedback.
Answered by
twpayne
May 29, 2025
Replies: 1 comment 11 replies
-
See https://www.chezmoi.io/user-guide/tools/http-or-socks5-proxy/. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I thought about adding support for using an external command for HTTP downloads, but the HTTP specification is huge and chezmoi has to set various headers for some requests (e.g. authenticated request to the GitHub API). The correct way to intercept HTTP requests is to use an HTTP proxy, and chezmoi already supports that through the
HTTP_PROXY
environment variable.An alternative for you would be to use a
run_before_
script that downloads the archives withcurl
and then usefile://
URLs in.chezmoiexternal
.