summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-10-16 22:25:35 +0200
committertv <tv@krebsco.de>2020-10-16 22:25:35 +0200
commit4d5c1b6dbed3c07c030e1dfe9f033f707608d84a (patch)
tree93aa5ea39ad6623db6c6f9eb0522478a58e173bc
parentcbf844cdde559ebd19b7c98d99abd858017951f1 (diff)
types.net: add mac option
-rw-r--r--lib/types.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 3eda2262f..689a2c807 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -116,6 +116,10 @@ rec {
type = listOf hostname;
default = [];
};
+ mac = mkOption {
+ type = nullOr str;
+ default = null;
+ };
ip4 = mkOption {
type = nullOr (submodule {
options = {