Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/nix/hive/eval.nix
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ let
colmenaOptions.deploymentOptions
hive.defaults
] ++ configs;
specialArgs = hive.meta.specialArgs // {
specialArgs = hive.meta.specialArgs // (hive.meta.nodeSpecialArgs.${name} or {}) // {
inherit name;
nodes = uncheckedNodes;
};
Expand Down
7 changes: 7 additions & 0 deletions src/nix/hive/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,13 @@ with builtins; rec {
type = types.attrsOf types.unspecified;
default = {};
};
nodeSpecialArgs = lib.mkOption {
description = ''
Node-specific special args.
'';
type = types.attrsOf types.unspecified;
default = {};
};
machinesFile = lib.mkOption {
description = ''
Use the machines listed in this file when building this hive configuration.
Expand Down