aboutsummaryrefslogtreecommitdiff
path: root/site
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 /site
parent3db6c9a5351b5a67dec18ff02dc60907eec30925 (diff)
downloadnixcfg-2150e0956bbffb995e15e29dc7f5415eb9a2e1dd.tar.gz
nixcfg-2150e0956bbffb995e15e29dc7f5415eb9a2e1dd.zip
Nomad and consul: single region now
Diffstat (limited to 'site')
-rw-r--r--site/neptune.nix3
-rw-r--r--site/pluton.nix3
2 files changed, 0 insertions, 6 deletions
diff --git a/site/neptune.nix b/site/neptune.nix
index 7fa6252..a42e2a7 100644
--- a/site/neptune.nix
+++ b/site/neptune.nix
@@ -6,10 +6,7 @@
interface = "eno1";
};
- services.consul.extraConfig.datacenter = "neptune";
services.nomad.settings.datacenter = "neptune";
- services.consul.extraConfig.bootstrap_expect = 3;
- services.nomad.settings.server.bootstrap_expect = 3;
# ----
diff --git a/site/pluton.nix b/site/pluton.nix
index 10ef4a5..22bea08 100644
--- a/site/pluton.nix
+++ b/site/pluton.nix
@@ -6,10 +6,7 @@
interface = "enp0s25";
};
- services.consul.extraConfig.datacenter = "pluton";
services.nomad.settings.datacenter = "pluton";
- services.consul.extraConfig.bootstrap_expect = 1;
- services.nomad.settings.server.bootstrap_expect = 1;
networking.firewall.allowedTCPPorts = [ 80 443 ];
}