aboutsummaryrefslogtreecommitdiff
path: root/site/neptune.nix
blob: 27e25889c854a40bc715e40cd2a2b359a4e1bd92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ config, pkgs, ... }:

{
  networking.defaultGateway = {
    address = "192.168.1.254";
    interface = "eno1";
  };

  services.nomad.settings.datacenter = "neptune";

  networking.firewall.allowedTCPPorts = [ 80 443 ];

  # ----

  nix = {
    binaryCaches = [
      "http://binarycache.home.adnab.me"
    ];
    binaryCachePublicKeys = [
      "binarycache.home.adnab.me:ErR6pMnewf9oVyZJd5uC2nI4EZF49c7Mh86eDZWYZaw="
    ];
  };
}