19 lines
292 B
Nix
19 lines
292 B
Nix
{ depot, ... }:
|
|
let
|
|
inherit (depot.reflection) interfaces;
|
|
in
|
|
{
|
|
imports = [
|
|
./port-forward.nix
|
|
./peering.nix
|
|
./monitoring.nix
|
|
];
|
|
|
|
networking.nat = {
|
|
enable = true;
|
|
externalInterface = interfaces.primary.link;
|
|
internalIPs = [
|
|
"10.10.0.0/16"
|
|
];
|
|
};
|
|
}
|