From 38e7aaf8ae1945bea4e8805d7efa67aa266c96c5 Mon Sep 17 00:00:00 2001 From: Douze Baie <12b@distrilab.fr> Date: Mon, 30 Sep 2024 17:44:42 +0200 Subject: [PATCH] add an node install step in build-images action --- .forgejo/workflows/build-images.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/build-images.yaml b/.forgejo/workflows/build-images.yaml index 89c0aca..8e64009 100644 --- a/.forgejo/workflows/build-images.yaml +++ b/.forgejo/workflows/build-images.yaml @@ -8,13 +8,9 @@ jobs: name: Build NixOS images runs-on: nixos steps: - #- name: install sudo - # run: apt-get update && apt-get -y install sudo + - name: install node + run: nix-env -iA nixos.nodejs_20 - name: checkout repository uses: actions/checkout@v4 - #- name: install nix - # uses: https://git.distrilab.fr/nix-clic/install-nix-action@v27 - # with: - # nix_path: nixpkgs=channel:nixos-24.05 - name: run generator run: nix-shell -p nixos-generators --run "nixos-generate -c inventory/demo-configuration.nix -f proxmox-lxc"