From 761c42d98235cf4b55046d18b030d4ee6b3e9e5a Mon Sep 17 00:00:00 2001 From: Lzebulon Date: Wed, 6 Aug 2025 22:24:02 +0200 Subject: [PATCH] fix ci/cd ? --- .forgejo/workflows/check.yaml | 5 ++--- hosts/physique/hyponix/services/forgejo-runner.nix | 6 ++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index c73f7d6..924981d 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -2,9 +2,8 @@ on: [push] jobs: check: - runs-on: nixos-latest + runs-on: native steps: - - name: "Setup nixos" - run: echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf + - uses: actions/checkout@v4 - name: Nixos check run: nix flake check diff --git a/hosts/physique/hyponix/services/forgejo-runner.nix b/hosts/physique/hyponix/services/forgejo-runner.nix index d49b325..72d2676 100644 --- a/hosts/physique/hyponix/services/forgejo-runner.nix +++ b/hosts/physique/hyponix/services/forgejo-runner.nix @@ -21,6 +21,12 @@ "nixos-latest:docker://nixos/nix:latest" "native:host" ]; + + hostPackages = with pkgs; [ + # besoin pour checkout + nodejs + nix + ]; }; }; }