From 1a03c0196bfebff8bc12b23edf4d915ca1a1347c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 3 Jan 2023 00:20:16 +0100 Subject: [PATCH] Convert prometheus to microvm --- flake.nix | 2 +- hosts/prometheus/default.nix | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 7285f725..eaee46ed 100644 --- a/flake.nix +++ b/flake.nix @@ -565,7 +565,7 @@ prometheus = nixosSystem' { modules = [ - self.nixosModules.cluster-options + self.nixosModules.microvm alert2muc.nixosModules.default ./hosts/prometheus ]; diff --git a/hosts/prometheus/default.nix b/hosts/prometheus/default.nix index 173660d5..8b0d366c 100644 --- a/hosts/prometheus/default.nix +++ b/hosts/prometheus/default.nix @@ -1,7 +1,11 @@ { zentralwerk, config, lib, ... }: { - deployment.mem = 1024; + c3d2.deployment.server = "server10"; + microvm = { + mem = 1024; + # vcpu = 1; + }; networking = { hostName = "prometheus";