diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index e78c3198..af4a67e3 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -20,6 +20,12 @@ jobs: with: nix_path: nixpkgs=channel:nixos-unstable + - uses: cachix/cachix-action@v14 + name: Configure Cachix + with: + name: exo + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + - name: Configure git user run: | git config --local user.email "github-actions@users.noreply.github.com" @@ -101,6 +107,12 @@ jobs: with: nix_path: nixpkgs=channel:nixos-unstable + - uses: cachix/cachix-action@v14 + name: Configure Cachix + with: + name: exo + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + - name: Run nix flake check run: | nix flake check diff --git a/flake.nix b/flake.nix index f405aea7..86fdb2e1 100644 --- a/flake.nix +++ b/flake.nix @@ -16,12 +16,11 @@ }; }; - # TODO: figure out caching story - # nixConfig = { - # # nix community cachix - # extra-trusted-public-keys = "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="; - # extra-substituters = "https://nix-community.cachix.org"; - # }; + nixConfig = { + # nix community cachix + extra-trusted-public-keys = "exo.cachix.org-1:okq7hl624TBeAR3kV+g39dUFSiaZgLRkLsFBCuJ2NZI="; + extra-substituters = "https://exo.cachix.org"; + }; outputs = inputs: