Configure nix on user level #2

Merged
fabianhauser merged 1 commit from nix into main 2024-10-03 13:44:32 +02:00

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}"