klingon: init

Monitoring node.

Signed-off-by: Ryan Lahfa <federez-infra@lahfa.xyz>
This commit is contained in:
Ryan Lahfa 2024-02-13 01:20:53 +01:00
parent 76218cc7cb
commit 3faccef81a
2 changed files with 18 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1,3 @@
{ ... }: {
services.netdata.enable = true;
}