settei/.github/actions/install-nix/action.yaml

22 lines
1.3 KiB
YAML

name: "Nix setup"
runs:
using: "composite"
steps:
- uses: DeterminateSystems/nix-installer-action@main
with:
# Needs to be kept in sync with flake.nix
extra-conf: |
allow-import-from-derivation = false
extra-substituters = https://hyprland.cachix.org
extra-substituters = https://cache.garnix.io
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-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=
- uses: DeterminateSystems/magic-nix-cache-action@main