stockholm/krebs/2configs/container-networking.nix
2022-05-28 12:11:37 +02:00

8 lines
231 B
Nix

{ lib, ... }:
{
networking.nat.enable = true;
networking.nat.internalInterfaces = ["ve-+" "ctr+" ];
networking.nat.externalInterface = lib.mkDefault "et0";
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
}