From 76605c04b9006337260f69b69980c57c1f70e91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Sun, 1 Mar 2026 02:42:22 -0700 Subject: [PATCH] fix(gitea-actions-runner): add nix to path --- modules/nixos/gitea-actions-runner.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/modules/nixos/gitea-actions-runner.nix b/modules/nixos/gitea-actions-runner.nix index 1b3f834..5490ab1 100644 --- a/modules/nixos/gitea-actions-runner.nix +++ b/modules/nixos/gitea-actions-runner.nix @@ -41,17 +41,28 @@ in { url = "https://git.deertopia.net/"; tokenFile = token-file; labels = [ "nixos:host" ]; + hostPackages = with pkgs; [ + bash + coreutils + curl + gawk + gitMinimal + gnused + nodejs + wget + nix + ]; }; # Disable dynamic user so runner state persists via bind mount - assertions = [{ - assertion = config.systemd.services.gitea-actions-runner-sydpc.enable; - message = '' + assertions = [{ + assertion = config.systemd.services.gitea-actions-runner-sydpc.enable; + message = '' Expected systemd service 'gitea-actions-runner-sydpc' is not enabled — the gitea-actions-runner module may have changed its naming scheme. ''; - }]; + }]; systemd.services.gitea-actions-runner-sydpc.serviceConfig.DynamicUser = lib.mkForce false; users.users.gitea-actions-runner = {