aboutsummaryrefslogtreecommitdiff
path: root/node/carcajou.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-04 21:55:48 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-04 21:55:48 +0100
commit2150e0956bbffb995e15e29dc7f5415eb9a2e1dd (patch)
tree24025843220d032676cc91ee794fabdc09592c5e /node/carcajou.nix
parent3db6c9a5351b5a67dec18ff02dc60907eec30925 (diff)
downloadnixcfg-2150e0956bbffb995e15e29dc7f5415eb9a2e1dd.tar.gz
nixcfg-2150e0956bbffb995e15e29dc7f5415eb9a2e1dd.zip
Nomad and consul: single region now
Diffstat (limited to 'node/carcajou.nix')
-rw-r--r--node/carcajou.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/carcajou.nix b/node/carcajou.nix
index 9cf6cde..bc90d76 100644
--- a/node/carcajou.nix
+++ b/node/carcajou.nix
@@ -25,4 +25,8 @@
# Enable netdata monitoring
services.netdata.enable = true;
+
+ # Activate as Nomad and Consul server node
+ services.nomad.settings.server.enabled = true;
+ services.consul.extraConfig.server = true;
}