diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 7d4162b..c0e1055 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -13,7 +13,11 @@ jobs: - nix-runner-home-node:/home/node options: --user 1000:1000 steps: + - name: Install nix + run: bash <(curl -L https://nixos.org/nix/install) --no-daemon - name: Checkout repo uses: actions/checkout@v4 - run: ls -lah - - run: nix build .#image -o image.tar.gz + - run: | + . ~/.nix-profile/etc/profile.d/nix.sh + nix build .#image -o image.tar.gz