mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-17 06:59:46 +03:00
Add comments to explain about the name defaults
This commit is contained in:
parent
2c099d1a14
commit
5221e7af04
2 changed files with 9 additions and 2 deletions
|
@ -11,7 +11,11 @@ let
|
|||
in
|
||||
|
||||
{
|
||||
options.services.github-runner = import ./github-runner/options.nix (args // { includeNameDefault = true; });
|
||||
options.services.github-runner = import ./github-runner/options.nix (args // {
|
||||
# Users don't need to specify options.services.github-runner.name; it will default
|
||||
# to the hostname.
|
||||
includeNameDefault = true;
|
||||
});
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.github-runners.${cfg.name} = cfg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue