mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
feat: spun up zookeeper
This commit is contained in:
parent
2117d74bbb
commit
06719af815
1 changed files with 30 additions and 0 deletions
30
modules/config/instances/config/zookeeper.nix
Executable file
30
modules/config/instances/config/zookeeper.nix
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
{ moduleFunctions }:
|
||||
let
|
||||
inherit (moduleFunctions.instancesFunctions)
|
||||
varPath
|
||||
mntPath
|
||||
;
|
||||
label = "Zookeeper";
|
||||
name = "zookeeper";
|
||||
in
|
||||
|
||||
{
|
||||
label = label;
|
||||
name = name;
|
||||
interface = {
|
||||
id = "vm-boonbot";
|
||||
mac = "02:00:00:00:53:23";
|
||||
idUser = "vmuser-boonbot";
|
||||
macUser = "02:00:00:00:00:23";
|
||||
ip = "192.168.50.213";
|
||||
gate = "192.168.50.1";
|
||||
ssh = 2303;
|
||||
};
|
||||
varPaths = {
|
||||
path0 = "${varPath}/${name}";
|
||||
};
|
||||
mntPaths = {
|
||||
path0 = "${mntPath}/${name}";
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue