From ef2cda9599a255074339296918cbc4c43aee932d Mon Sep 17 00:00:00 2001 From: cy Date: Sun, 30 Mar 2025 22:01:31 -0400 Subject: [PATCH] chown /nix --- .github/workflows/build-machines-and-homes.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-machines-and-homes.yml b/.github/workflows/build-machines-and-homes.yml index cabaccc..4f4e583 100644 --- a/.github/workflows/build-machines-and-homes.yml +++ b/.github/workflows/build-machines-and-homes.yml @@ -23,10 +23,10 @@ jobs: steps: - name: Maximize build disk space - uses: easimon/maximize-build-space@v10 + uses: easimon/maximize-build-space@master with: - overprovision-lvm: true - swap-size-mb: 1024 + overprovision-lvm: false + # swap-size-mb: 1024 remove-dotnet: 'true' remove-android: 'true' remove-haskell: 'true' @@ -34,6 +34,9 @@ jobs: remove-docker-images: 'true' build-mount-path: /nix + - name: make root own /nix + run: sudo chown -R root:root /nix + - name: setup binary cache key run: echo "${{ secrets.NIX_CACHE_SECRET_KEY }}" >> /home/runner/cache-priv-key.pem