8 lines
223 B
Nix
8 lines
223 B
Nix
{ lib, ... }:
|
|
{
|
|
networking.nat.enable = true;
|
|
networking.nat.internalInterfaces = ["ve-+"];
|
|
networking.nat.externalInterface = lib.mkDefault "et0";
|
|
networking.networkmanager.unmanaged = [ "interface-name:ve-*" ];
|
|
}
|