stockholm/krebs/2configs/container-networking.nix

8 lines
231 B
Nix
Raw Normal View History

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