aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 2eefbc4..c493496 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -198,6 +198,9 @@ in
else {}) //
{
datacenter = "staging";
+ node_meta = {
+ "site" = site_config.services.nomad.settings.datacenter;
+ };
ui = true;
bind_addr = public_ip;
@@ -240,6 +243,9 @@ in
client = {
enabled = true;
network_interface = "wg0";
+ meta = {
+ "site" = site_config.services.nomad.settings.datacenter;
+ };
};
tls = {
http = true;