add auth & grafana + guest agent

This commit is contained in:
asyncnomi 2025-07-20 20:50:09 +02:00
parent 2a1864bcb1
commit 3e857b2afc
2 changed files with 41 additions and 1 deletions

View file

@ -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";
};
};
}

View file

@ -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;
}