Set runner name to attr name for github-runners.${name}

This commit is contained in:
Tom McLaughlin
2022-10-14 05:31:50 -06:00
parent fc8fdb03a0
commit 2c099d1a14
3 changed files with 13 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ let
in
{
options.services.github-runner = import ./github-runner/options.nix args;
options.services.github-runner = import ./github-runner/options.nix (args // { includeNameDefault = true; });
config = mkIf cfg.enable {
services.github-runners.${cfg.name} = cfg;