From 86f25a5f5490b846794081a7312b9e66edafae38 Mon Sep 17 00:00:00 2001 From: Adam Chance <6444703+drakon64@users.noreply.github.com> Date: Fri, 27 Dec 2024 20:31:19 +0000 Subject: [PATCH] Fix Lix trusted users --- .github/workflows/beta.yaml | 4 +++- .github/workflows/ktisis.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/beta.yaml b/.github/workflows/beta.yaml index 1f4d7e4..f0d5128 100644 --- a/.github/workflows/beta.yaml +++ b/.github/workflows/beta.yaml @@ -30,7 +30,9 @@ jobs: steps: - uses: actions/checkout@v4 - - run: curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- install --no-confirm + - run: | + curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- install --no-confirm + echo "trusted-users = root runner" | sudo tee -a /etc/nix/nix.conf - uses: cachix/cachix-action@v15 with: diff --git a/.github/workflows/ktisis.yaml b/.github/workflows/ktisis.yaml index 61ce0e3..6027a87 100644 --- a/.github/workflows/ktisis.yaml +++ b/.github/workflows/ktisis.yaml @@ -30,7 +30,9 @@ jobs: steps: - uses: actions/checkout@v4 - - run: curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- install --no-confirm + - run: | + curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- install --no-confirm + echo "trusted-users = root runner" | sudo tee -a /etc/nix/nix.conf - uses: cachix/cachix-action@v15 with: