aboutsummaryrefslogtreecommitdiff
path: root/site/pluton.nix
blob: 10ef4a58c9cf428fa26cc923b7f3838751e1bafa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ 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;

  networking.firewall.allowedTCPPorts = [ 80 443 ];
}