🐛 fix TLS error in chezmoi update

This commit is contained in:
2024-11-30 19:30:57 -05:00
parent 39a6c16cea
commit 9ea7912596
2 changed files with 7 additions and 6 deletions

View File

@ -15,6 +15,7 @@
];
activation.chezmoi = lib.hm.dag.entryAfter [ "installPackages" ] ''
export SSL_CERT_FILE="${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
export PATH="${pkgs.git}/bin:${pkgs.openssh}/bin:$PATH"
if [ ! -d $HOME/.local/share/chezmoi ]; then
$DRY_RUN_CMD ${pkgs.chezmoi}/bin/chezmoi init --apply walkah/dotfiles