klingon: init
Monitoring node. Signed-off-by: Ryan Lahfa <federez-infra@lahfa.xyz>
This commit is contained in:
parent
76218cc7cb
commit
3faccef81a
2 changed files with 18 additions and 0 deletions
15
hive.nix
15
hive.nix
|
@ -84,4 +84,19 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
klingon = { name, nodes, ... }: {
|
||||||
|
deployment.tags = [ "monitoring" ];
|
||||||
|
deployment.targetHost = "klingon.federez.net";
|
||||||
|
networking.hostName = name;
|
||||||
|
|
||||||
|
glucagon.networking = {
|
||||||
|
nibble = 230;
|
||||||
|
wan-mac = "BC:24:11:B7:AE:80";
|
||||||
|
};
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./profiles/vm.nix
|
||||||
|
./profiles/netdata.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
3
profiles/netdata.nix
Normal file
3
profiles/netdata.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{ ... }: {
|
||||||
|
services.netdata.enable = true;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue