nixcfg/site/neptune.nix

25 lines
485 B
Nix
Raw Normal View History

2021-11-18 15:40:19 +00:00
{ config, pkgs, ... }:
{
networking.defaultGateway = {
address = "192.168.1.254";
interface = "eno1";
};
services.nomad.settings.datacenter = "neptune";
# Allow router to reach nodes in this site
2021-12-08 16:57:54 +00:00
networking.firewall.allowedTCPPorts = [ 80 443 ];
2021-11-18 15:40:19 +00:00
# ----
nix = {
binaryCaches = [
2021-12-08 17:02:21 +00:00
"http://binarycache.home.adnab.me:7980"
2021-11-18 15:40:19 +00:00
];
binaryCachePublicKeys = [
"binarycache.home.adnab.me:ErR6pMnewf9oVyZJd5uC2nI4EZF49c7Mh86eDZWYZaw="
];
};
}