From aca5a499880e23057b014fcc8d24ae486975a30f Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Tue, 26 Nov 2024 13:32:10 +0200 Subject: [PATCH] minor spelling mistake. i lose --- .forgejo/workflows/check.yaml | 2 +- .forgejo/workflows/flake-update.yaml | 8 ++------ services/forgejo/runner.mod.nix | 14 ++++++++++++-- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index 55c99a5..76002bb 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -6,4 +6,4 @@ jobs: name: "nix fmt" steps: - uses: actions/checkout@v4 - - run: nixfmt ${find . ./ -regex '*.nix$'} -- --check \ No newline at end of file + - run: nixfmt ${find ./ -regex '*.nix$'} -- --check \ No newline at end of file diff --git a/.forgejo/workflows/flake-update.yaml b/.forgejo/workflows/flake-update.yaml index 1156fb8..a72835b 100644 --- a/.forgejo/workflows/flake-update.yaml +++ b/.forgejo/workflows/flake-update.yaml @@ -8,13 +8,9 @@ jobs: test: runs-on: docker steps: - - name: clone repo - run: | - git clone https://git.collective-conciousness.monster/Ittihadyya/adyya-flake.git - cd adyya-flake/ + - uses: code.forgejo.org/actions/checkout@v4 - name: update flake run: | - nix flake update - - name: + nix flake update --experimental-features 'nix-command flakes' \ No newline at end of file diff --git a/services/forgejo/runner.mod.nix b/services/forgejo/runner.mod.nix index f7d8a37..8680b6d 100644 --- a/services/forgejo/runner.mod.nix +++ b/services/forgejo/runner.mod.nix @@ -1,12 +1,22 @@ { sucrose.modules = [ - ({pkgs, config, ...}: { + ({pkgs, config, lib, ...}: { services.gitea-actions-runner= { package = pkgs.forgejo-runner; instances = { ${config.networking.hostName} = { enable = true; - hostPackages = [ ]; + hostPackages = with pkgs; lib.mkDefault [ + bash + coreutils + curl + gawk + gitMinimal + gnused + wget + nix + nixfmt-rfc-style + ]; labels = [ ]; name = config.networking.hostName; settings = { };