depot/hosts/VEGAS/services/backbone-routing/default.nix

20 lines
292 B
Nix
Raw Normal View History

{ depot, ... }:
let
2023-02-24 16:16:15 +02:00
inherit (depot.reflection) interfaces;
in
{
imports = [
./port-forward.nix
./peering.nix
2023-06-03 12:44:12 +03:00
./monitoring.nix
];
networking.nat = {
enable = true;
externalInterface = interfaces.primary.link;
internalIPs = [
"10.10.0.0/16"
];
};
}