add hosts module arg to easily access other host's config
This commit is contained in:
parent
1ac3d83fc1
commit
6210daff13
@ -75,6 +75,8 @@ let
|
||||
|
||||
_module.args = {
|
||||
inherit self;
|
||||
hosts = builtins.mapAttrs (_: host: host.config)
|
||||
(removeAttrs hosts [ hostName ]);
|
||||
};
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user