2022-04-10 11:54:58 +02:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit
|
|
|
|
(lib)
|
2022-01-11 16:08:21 +01:00
|
|
|
mkOption
|
|
|
|
types
|
2022-04-10 11:54:58 +02:00
|
|
|
;
|
|
|
|
in {
|
2022-01-11 16:08:21 +01:00
|
|
|
options.my.networking.externalInterface = mkOption {
|
2021-02-22 18:59:37 +01:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|