diff --git a/nix/home-manager/profiles/dotfiles/vcsh.tmpl.nix b/nix/home-manager/profiles/dotfiles/vcsh.tmpl.nix index 16a5d80..521a126 100644 --- a/nix/home-manager/profiles/dotfiles/vcsh.tmpl.nix +++ b/nix/home-manager/profiles/dotfiles/vcsh.tmpl.nix @@ -5,16 +5,17 @@ }: let - repoHttps = "https://gitlab.com/steveeJ/dotfiles.git"; - repoSsh = "git@gitlab.com:/steveeJ/dotfiles.git"; repoBareLocal = pkgs.runCommand "fetchbare" { outputHashMode = "recursive"; outputHashAlgo = "sha256"; outputHash = "0000000000000000000000000000000000000000000000000000"; } '' + ( + set -xe export GIT_SSL_CAINFO=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt ${pkgs.git}/bin/git clone --mirror ${repoHttps} $out + ) ''; in pkgs.writeScript "activation-script" ''