aboutsummaryrefslogtreecommitdiff
path: root/site/pluton.nix
diff options
context:
space:
mode:
Diffstat (limited to 'site/pluton.nix')
-rw-r--r--site/pluton.nix13
1 files changed, 13 insertions, 0 deletions
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;
+}