github-runner: remove node20 runtime from defaults

It's marked as insecure starting with 26.05, and now github-runner package defaults to supporting only node24
See https://github.com/NixOS/nixpkgs/pull/524856
This commit is contained in:
Yuriy Taraday 2026-06-01 15:02:48 +02:00
parent f73cbf1f65
commit b317d77bbf
2 changed files with 1 additions and 2 deletions

View file

@ -263,7 +263,7 @@ in
nodeRuntimes = mkOption { nodeRuntimes = mkOption {
type = with types; nonEmptyListOf (enum [ "node20" "node24" ]); type = with types; nonEmptyListOf (enum [ "node20" "node24" ]);
default = [ "node20" "node24" ]; default = [ "node24" ];
description = '' description = ''
List of Node.js runtimes the runner should support. List of Node.js runtimes the runner should support.
''; '';

View file

@ -4,7 +4,6 @@
enable = true; enable = true;
url = "https://github.com/nixos/nixpkgs"; url = "https://github.com/nixos/nixpkgs";
tokenFile = "/secret/path/to/a/github/token"; tokenFile = "/secret/path/to/a/github/token";
nodeRuntimes = [ "node24" ];
}; };
test = '' test = ''