From 29fbf9b768eca047828decd6c6dbd0a7e3fd32d5 Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 28 May 2024 14:00:05 -0400 Subject: [PATCH] Forgejo Actions test #5 --- .forgejo/workflows/update.yaml | 1 + modules/services/forgejo.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/update.yaml b/.forgejo/workflows/update.yaml index 5382bb7..5b65112 100644 --- a/.forgejo/workflows/update.yaml +++ b/.forgejo/workflows/update.yaml @@ -9,6 +9,7 @@ jobs: runs-on: nix steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 - run: nix --experimental-features 'nix-command flakes' flake update - run: nixos-rebuild --experimental-features 'nix-command flakes' build --flake .#Haven - run: nixos-rebuild --experimental-features 'nix-command flakes' build --flake .#Khanda diff --git a/modules/services/forgejo.nix b/modules/services/forgejo.nix index 1572bca..98a4911 100644 --- a/modules/services/forgejo.nix +++ b/modules/services/forgejo.nix @@ -77,7 +77,7 @@ in settings = { # For an example of configuring in Nix: https://git.clan.lol/clan/clan-infra/src/branch/main/modules/web01/gitea/actions-runner.nix # For an example of the different options available: https://gitea.com/gitea/act_runner/src/branch/main/internal/pkg/config/config.example.yaml - container.options = "--v /nix:/nix"; + container.options = "-v /nix:/nix"; container.validVolumes = [ "/nix" ]; }; };