From d34544d4dcaa78173df4cf5507b00c3dce80e258 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Thu, 26 Sep 2024 20:41:56 +0300 Subject: [PATCH] feat: add lfs to gitea runner --- flake.lock | 8 ++++---- flake.nix | 2 +- hosts/wolumonde/modules/gitea-act.nix | 14 +++++++++++++- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index a10ef43..5b20e28 100644 --- a/flake.lock +++ b/flake.lock @@ -100,13 +100,13 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1727366047, - "narHash": "sha256-qeJQilEismXQ6pBUepB5LqrjvqRXYqiC9mkHH9ii28Q=", - "path": "/home/kirara/proj/website", + "lastModified": 1727370985, + "narHash": "sha256-dDUEMxoG3aaSDEoseVW7dapRnHIdgQkLQiFwPjo+dXQ=", + "path": "/home/firewatch/website", "type": "path" }, "original": { - "path": "/home/kirara/proj/website", + "path": "/home/firewatch/website", "type": "path" } }, diff --git a/flake.nix b/flake.nix index fef6084..e5d9720 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,7 @@ helix.url = "github:helix-editor/helix"; - blog.url = "path:/home/kirara/proj/website"; + blog.url = "path:/home/firewatch/website"; blog.inputs.nixpkgs.follows = "nixpkgs"; bernbot.url = "github:yusdacra/bernbot"; diff --git a/hosts/wolumonde/modules/gitea-act.nix b/hosts/wolumonde/modules/gitea-act.nix index 85d304b..5011eab 100644 --- a/hosts/wolumonde/modules/gitea-act.nix +++ b/hosts/wolumonde/modules/gitea-act.nix @@ -1,8 +1,20 @@ -{config, ...}: { +{pkgs, config, ...}: { services.gitea-actions-runner.instances."thermex" = { + enable = true; url = config.services.gitea.settings.server.ROOT_URL; name = "thermex"; tokenFile = config.age.secrets.giteaActRunnerToken.path; labels = ["native:host"]; + hostPackages = with pkgs; [ + bash + coreutils + curl + gawk + gitMinimal + git-lfs + gnused + nodejs + wget + ]; }; }