Merge #164
164: add hosts module arg r=nrdxp a=Pacman99 should help with #163. Fixes #169 But either way this could be generally useful. I have one use case of setting up a minecraft bungeecord proxy with servers on different hosts. Co-authored-by: Pacman99 <pachum99@gmail.com>
This commit is contained in:
commit
c2cd3e79ca
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ let
|
||||||
|
|
||||||
_module.args = {
|
_module.args = {
|
||||||
inherit self;
|
inherit self;
|
||||||
|
hosts = builtins.mapAttrs (_: host: host.config)
|
||||||
|
(removeAttrs hosts [ hostName ]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue