From 0bfffe7acb3ce11dd3d22f8b97f2f0993ccc2425 Mon Sep 17 00:00:00 2001 From: Satria Date: Sat, 14 Mar 2026 10:27:29 +0700 Subject: [PATCH] path fixes --- .forgejo/workflows/activate.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/activate.yml b/.forgejo/workflows/activate.yml index d63013b..420d2b2 100644 --- a/.forgejo/workflows/activate.yml +++ b/.forgejo/workflows/activate.yml @@ -3,19 +3,22 @@ on: push: branches: - main + +env: + PATH: /run/current-system/sw/bin:/run/wrappers/bin + jobs: build-and-activate: runs-on: nixos-server + defaults: + run: + shell: /bin/sh -e {0} steps: - name: Clone - shell: /bin/sh -e {0} run: git clone http://localhost:5080/satr14/nix-flake.git src - name: Build - shell: /bin/sh -e {0} run: nixos-rebuild build --flake ./src#homelab - name: Activate - shell: /bin/sh -e {0} run: sudo nixos-rebuild switch --flake ./src#homelab - name: Clean - shell: /bin/sh -e {0} run: rm -rf src \ No newline at end of file