diff options
Diffstat (limited to 'node')
-rw-r--r-- | node/carcajou.nix | 4 | ||||
-rw-r--r-- | node/caribou.nix | 4 | ||||
-rw-r--r-- | node/spoutnik.nix | 4 |
3 files changed, 12 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; } 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; 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 = { |