Configure git on user level

This commit is contained in:
Fabian Hauser 2024-10-03 14:33:26 +03:00
parent 37ef2d478e
commit a4ca620fac

View file

@ -14,10 +14,10 @@ runs:
steps:
- name: Setup NIX CI Environment
run: |
echo "substituters = https://nixpkgs-cache.qo.is?priority=39" >> /etc/nix/nix.conf
echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" >> /etc/nix/nix.conf
nix profile install nixpkgs#git-lfs nixpkgs#gnused
mkdir -p ~/.config/nix && cp /etc/nix/nix.conf ~/.config/nix/
echo "substituters = https://nixpkgs-cache.qo.is?priority=39" >> ~/.config/nix/nix.conf
echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" >> ~/.config/nix/nix.conf
nix profile install nixpkgs#git-lfs nixpkgs#gnused
- name: Checkout Repository
shell: "nix shell nixpkgs#git-lfs nixpkgs#gnused --command {0}"