add auth & grafana + guest agent
This commit is contained in:
parent
2a1864bcb1
commit
3e857b2afc
2 changed files with 41 additions and 1 deletions
38
nodes.nix
38
nodes.nix
|
@ -207,4 +207,42 @@
|
||||||
fsType = "ext4";
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
|
@ -8,7 +8,9 @@ in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
(modulesPath + "/virtualisation/qemu-guest-agent.nix")
|
||||||
];
|
];
|
||||||
|
services.qemuGuest.enable = true;
|
||||||
|
|
||||||
fileSystems = myNode.fileSystems;
|
fileSystems = myNode.fileSystems;
|
||||||
|
|
||||||
|
@ -16,5 +18,5 @@ in
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.device = myNode.grubDevice;
|
boot.loader.grub.device = myNode.grubDevice;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault myNode.system;
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue