Use host nix.conf

This commit is contained in:
Charlotte Van Petegem 2023-01-28 12:47:56 +01:00
parent 90901ac940
commit 01d983389e
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 1 additions and 7 deletions

View file

@ -15,13 +15,9 @@ build-nixos-configurations:
- lasting-integrity
- urithiru
script:
- cat /etc/nix/nix.conf
- nix-env --quiet -j8 -iA cachix -f https://cachix.org/api/v1/install
- cachix --version
- cachix authtoken $CACHIX_AUTH_TOKEN
- cachix use chvp
- cachix use accentor
- cachix use nix-community
- nix build -L --no-link .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel
- nix eval --json .#nixosConfigurations.${HOST_TO_BUILD}.config.system.build.toplevel | sed 's/"\(.*\)"/\1/' | cachix push chvp