Convert prometheus to microvm

This commit is contained in:
Sandro - 2023-01-03 00:20:16 +01:00
parent 01b4aab87c
commit 1a03c0196b
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 6 additions and 2 deletions

View File

@ -565,7 +565,7 @@
prometheus = nixosSystem' {
modules = [
self.nixosModules.cluster-options
self.nixosModules.microvm
alert2muc.nixosModules.default
./hosts/prometheus
];

View File

@ -1,7 +1,11 @@
{ zentralwerk, config, lib, ... }:
{
deployment.mem = 1024;
c3d2.deployment.server = "server10";
microvm = {
mem = 1024;
# vcpu = 1;
};
networking = {
hostName = "prometheus";