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
commit2735c44d98a0b753576963f0353f02700c2369ad (patch)
tree03353139904d323e5f7e0d4455d3691ace884124
parent8394654c617c71d03f4e8f8fd4a68d191f09fcdb (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 3eda226..689a2c8 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 = {