From cdd4e2211ac90d55f528bb880d86ef1bf524c484 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 18 Nov 2021 16:40:19 +0100 Subject: Nomad config --- site/pluton.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 site/pluton.nix (limited to 'site/pluton.nix') diff --git a/site/pluton.nix b/site/pluton.nix new file mode 100644 index 0000000..ec94018 --- /dev/null +++ b/site/pluton.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: + +{ + networking.defaultGateway = { + address = "192.168.0.1"; + 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; +} -- cgit v1.2.3