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 = {