diff options
| author | tv <tv@krebsco.de> | 2020-10-16 22:25:35 +0200 | 
|---|---|---|
| committer | tv <tv@krebsco.de> | 2020-10-16 22:25:35 +0200 | 
| commit | 2735c44d98a0b753576963f0353f02700c2369ad (patch) | |
| tree | 03353139904d323e5f7e0d4455d3691ace884124 /lib | |
| parent | 8394654c617c71d03f4e8f8fd4a68d191f09fcdb (diff) | |
types.net: add mac option
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/types.nix | 4 | 
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 = {  | 
