aboutsummaryrefslogtreecommitdiff
path: root/node/caribou.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/caribou.nix
parent3db6c9a5351b5a67dec18ff02dc60907eec30925 (diff)
downloadnixcfg-2150e0956bbffb995e15e29dc7f5415eb9a2e1dd.tar.gz
nixcfg-2150e0956bbffb995e15e29dc7f5415eb9a2e1dd.zip
Nomad and consul: single region now
Diffstat (limited to 'node/caribou.nix')
-rw-r--r--node/caribou.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/caribou.nix b/node/caribou.nix
index d4b186d..e354754 100644
--- a/node/caribou.nix
+++ b/node/caribou.nix
@@ -26,6 +26,10 @@
# OR use USB modem plugged in here
#networking.interfaces.enp0s20u1.useDHCP = true;
+ # Activate as Nomad and Consul server node
+ services.nomad.settings.server.enabled = true;
+ services.consul.extraConfig.server = true;
+
# Enable netdata monitoring
services.netdata.enable = true;