From 193ac67ba337990c22126da24a775c497dbc7e7d Mon Sep 17 00:00:00 2001 From: Vincent Haupert Date: Mon, 29 Mar 2021 00:24:36 +0200 Subject: [PATCH] nixos/github-runner: use types.str for `name` option Forcing a `name` option to comply with a pattern which could also be used as a hostname is probably not required by GitHub. --- nixos/modules/services/continuous-integration/github-runner.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/continuous-integration/github-runner.nix b/nixos/modules/services/continuous-integration/github-runner.nix index 29226a273c48..03ba768bb0f1 100644 --- a/nixos/modules/services/continuous-integration/github-runner.nix +++ b/nixos/modules/services/continuous-integration/github-runner.nix @@ -46,7 +46,7 @@ in }; name = mkOption { - type = types.strMatching "^$|^[[:alnum:]]([[:alnum:]_-]{0,61}[[:alnum:]])?$"; + type = types.str; description = '' Name of the runner to configure. Defaults to the hostname.