diff --git a/.forgejo/workflows/activate.yml b/.forgejo/workflows/activate.yml index cb11874..95ef84b 100644 --- a/.forgejo/workflows/activate.yml +++ b/.forgejo/workflows/activate.yml @@ -7,7 +7,11 @@ jobs: build-and-activate: runs-on: nixos-server steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Build and activate system - run: sudo nixos-rebuild switch --flake .#homelab \ No newline at end of file + - name: Clone + run: git clone http://localhost:5080/satr14/nix-flake.git src + - name: Build + run: nixos-rebuild build --flake ./src#homelab + - name: Activate + run: sudo nixos-rebuild switch --flake ./src#homelab + - name: Clean + run: rm -rf src \ No newline at end of file