feat(netbox-agent): init

This commit is contained in:
sinavir 2024-03-23 20:22:58 +01:00
parent 733c9c74a7
commit 747d8c08cb
7 changed files with 165 additions and 0 deletions

View file

@ -25,6 +25,7 @@
deployment.tags = [ "web" ];
stateVersion = "23.05";
vm-cluster = "Hyperviseur NPS";
};
compute01 = {
@ -67,11 +68,13 @@
stateVersion = "24.05";
nixpkgs = "unstable";
vm-cluster = "Hyperviseur NPS";
};
rescue01 = {
site = "luj01";
stateVersion = "23.11";
vm-cluster = "Hyperviseur Luj";
};
}

View file

@ -117,6 +117,12 @@ in
Geographical site where the node is located.
'';
};
vm-cluster = mkOption {
type = nullOr str;
default = null;
description = "VM cluster where the VM is located";
};
};
config = {