From 3e857b2afced7fc85214648785491dc30fbd5b1b Mon Sep 17 00:00:00 2001 From: Asyncnomi Date: Sun, 20 Jul 2025 20:50:09 +0200 Subject: [PATCH] add auth & grafana + guest agent --- nodes.nix | 38 ++++++++++++++++++++++++++++++++++++++ shared/commons/boot.nix | 4 +++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/nodes.nix b/nodes.nix index c2d2aa5..7b93ed7 100644 --- a/nodes.nix +++ b/nodes.nix @@ -207,4 +207,42 @@ fsType = "ext4"; }; }; + + auth-mtz-lasuite-federez = { + system = "x86_64-linux"; + ver = "25.05"; + modules = [ + # TODO + ]; + + ip4 = "193.48.225.161/24"; + gIp4 = "193.48.225.254"; + + dev = "ens18"; + + grubDevice = "/dev/sda"; + fileSystems."/" = { + device = "/dev/disk/by-uuid/760e2977-2c6a-438a-bcfe-57a315211df4"; + fsType = "ext4"; + }; + }; + + grafana-mtz-lasuite-federez = { + system = "x86_64-linux"; + ver = "25.05"; + modules = [ + # TODO + ]; + + ip4 = "193.48.225.162/24"; + gIp4 = "193.48.225.254"; + + dev = "ens18"; + + grubDevice = "/dev/sda"; + fileSystems."/" = { + device = "/dev/disk/by-uuid/760e2977-2c6a-438a-bcfe-57a315211df4"; + fsType = "ext4"; + }; + }; } \ No newline at end of file diff --git a/shared/commons/boot.nix b/shared/commons/boot.nix index 28e1ffc..aa33f76 100644 --- a/shared/commons/boot.nix +++ b/shared/commons/boot.nix @@ -8,7 +8,9 @@ in { imports = [ (modulesPath + "/profiles/qemu-guest.nix") + (modulesPath + "/virtualisation/qemu-guest-agent.nix") ]; + services.qemuGuest.enable = true; fileSystems = myNode.fileSystems; @@ -16,5 +18,5 @@ in boot.loader.grub.enable = true; boot.loader.grub.device = myNode.grubDevice; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + nixpkgs.hostPlatform = lib.mkDefault myNode.system; } \ No newline at end of file