Thingvellir as nomad server

This commit is contained in:
marc
2024-02-16 18:21:24 +01:00
parent 3c23709394
commit 87a4d79c71
27 changed files with 1253 additions and 18 deletions

View File

@@ -47,11 +47,11 @@ in
};
};
# --- Secrets ---------------------------------
age.secrets = {
"nomad.d/consul-token.json" = {
file = ../../secrets/nomad.d/consul-token.json.age;
file = if cfg.server
then ../../secrets/nomad.d/consul-token-server.json.age
else ../../secrets/nomad.d/consul-token-client.json.age;
mode = "644";
};
};