18 lines
347 B
Nix
18 lines
347 B
Nix
{ lib, ... }:
|
|
{
|
|
options.networking =
|
|
with lib;
|
|
with types;
|
|
{
|
|
publicIPv4 = mkOption {
|
|
type = nullOr str;
|
|
description = "The public IPv4 address of this device.";
|
|
};
|
|
|
|
publicIPv6 = mkOption {
|
|
type = nullOr str;
|
|
description = "The public IPv6 address of this device.";
|
|
};
|
|
};
|
|
}
|