Configure git on user level
This commit is contained in:
parent
37ef2d478e
commit
a4ca620fac
1 changed files with 3 additions and 3 deletions
|
@ -14,10 +14,10 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: Setup NIX CI Environment
|
- name: Setup NIX CI Environment
|
||||||
run: |
|
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/
|
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
|
- name: Checkout Repository
|
||||||
shell: "nix shell nixpkgs#git-lfs nixpkgs#gnused --command {0}"
|
shell: "nix shell nixpkgs#git-lfs nixpkgs#gnused --command {0}"
|
||||||
|
|
Loading…
Reference in a new issue