diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-04 21:55:48 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-04 21:55:48 +0100 |
commit | 2150e0956bbffb995e15e29dc7f5415eb9a2e1dd (patch) | |
tree | 24025843220d032676cc91ee794fabdc09592c5e /node/spoutnik.nix | |
parent | 3db6c9a5351b5a67dec18ff02dc60907eec30925 (diff) | |
download | nixcfg-2150e0956bbffb995e15e29dc7f5415eb9a2e1dd.tar.gz nixcfg-2150e0956bbffb995e15e29dc7f5415eb9a2e1dd.zip |
Nomad and consul: single region now
Diffstat (limited to 'node/spoutnik.nix')
-rw-r--r-- | node/spoutnik.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node/spoutnik.nix b/node/spoutnik.nix index 4aa6f91..1554de9 100644 --- a/node/spoutnik.nix +++ b/node/spoutnik.nix @@ -25,6 +25,10 @@ listenPort = 42136; }; + # Activate as Nomad and Consul server node + services.nomad.settings.server.enabled = true; + services.consul.extraConfig.server = true; + # Nginx configuration: services.nginx = { |