about summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration
diff options
context:
space:
mode:
authorVincent Haupert <vincent@yaxi.tech>2024-01-23 14:17:58 +0100
committerVincent Haupert <vincent@yaxi.tech>2024-02-09 16:19:23 +0100
commit3f13f8d85e29373e90b4c6e904891680702c2b6f (patch)
tree00522cb92818c7920344275654df54e4108ae06f /nixos/modules/services/continuous-integration
parent782b1645230f0f1b8362941c597c61688baf9534 (diff)
nixos/github-runners: align `nodeRuntimes` option with package
The `github-runner` package only supports `nodejs_20` since `nodejs_16`
was removed in a2976db919afc97b69ce3b7699a1a44ce61bbe5f.

It still makes sense to keep the `nodeRuntimes` option as this is
probably not the last Node.js we'll deprecate with at least some grace
period.
Diffstat (limited to 'nixos/modules/services/continuous-integration')
-rw-r--r--nixos/modules/services/continuous-integration/github-runner/options.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/continuous-integration/github-runner/options.nix b/nixos/modules/services/continuous-integration/github-runner/options.nix
index 35c0a6133db9c..6864aa2170d14 100644
--- a/nixos/modules/services/continuous-integration/github-runner/options.nix
+++ b/nixos/modules/services/continuous-integration/github-runner/options.nix
@@ -230,7 +230,7 @@ with lib;
         };
 
         nodeRuntimes = mkOption {
-          type = with types; nonEmptyListOf (enum [ "node16" "node20" ]);
+          type = with types; nonEmptyListOf (enum [ "node20" ]);
           default = [ "node20" ];
           description = mdDoc ''
             List of Node.js runtimes the runner should support.