aboutsummaryrefslogblamecommitdiff
path: root/site/neptune.nix
blob: f640fc1cf3c51d96a0c2d47526f887fb3d6109cd (plain) (tree)
1
2
3
4
5
6
7
8
9







                               
                                                 
 
                                            

                                                   



                    
                                             





                                                                              
{ config, pkgs, ... }:

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

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

  # Allow router to reach nodes in this site
  networking.firewall.allowedTCPPorts = [ 80 443 ];

  # ----

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