treewide: change cache url

This commit is contained in:
Nikodem Rabuliński 2024-02-11 20:14:02 +01:00
parent b9c6372371
commit b29deecda5
4 changed files with 27 additions and 13 deletions

20
.github/actions/attic-push/action.yaml vendored Normal file
View file

@ -0,0 +1,20 @@
name: "Attic push"
inputs:
from:
default: "."
server-url:
default: "https://attic.nrab.lol/"
server-name:
default: "nrab-attic"
cache:
default: "public"
paths:
default: "result"
token:
default: ${{ secrets.ATTIC_TOKEN }}
runs:
using: "composite"
steps:
- run: |
nix run "${{ inputs.from }}"#attic -- login "${{ inputs.server-name }}" '${{ inputs.server-url }}' '${{ inputs.token }}'
nix run "${{ inputs.from }}"#attic -- push "${{ inputs.server-name }}":"${{ inputs.cache }}" ${{ inputs.paths }}

View file

@ -16,12 +16,12 @@ runs:
extra-substituters = https://nix-community.cachix.org
extra-substituters = https://hercules-ci.cachix.org
extra-substituters = https://nrabulinski.cachix.org
extra-substituters = https://cache.nrab.lol/public
extra-substituters = https://cache.nrab.lol
extra-trusted-public-keys = hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
extra-trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
extra-trusted-public-keys = hercules-ci.cachix.org-1:ZZeDl9Va+xe9j+KqdzoBZMFJHVQ42Uu/c/1/KMC5Lw0=
extra-trusted-public-keys = nrabulinski.cachix.org-1:Q5FD7+1c68uH74CQK66UWNzxhanZW8xcg1LFXxGK8ic=
extra-trusted-public-keys = public:wIIyvCTlsk39uwKlBFOuVY+BXrPY3lUNAEpDN4H+O0Q=
extra-trusted-public-keys = cache.nrab.lol-1:wIIyvCTlsk39uwKlBFOuVY+BXrPY3lUNAEpDN4H+O0Q=
${{ inputs.extra-conf }}
- uses: DeterminateSystems/magic-nix-cache-action@main