nixos-config/base/networking.nix

13 lines
307 B
Nix
Raw Permalink Normal View History

2021-02-22 18:59:37 +01:00
{ lib, ... }:
{
options.my.networking.externalInterface = with lib; mkOption {
type = types.nullOr types.str;
default = null;
example = "eth0";
description = ''
Name of the network interface that egresses to the internet. Used for
e.g. NATing internal networks.
'';
};
}