···476 '';
477 };
478479+ macvlans = mkOption {
480+ type = types.listOf types.str;
481+ default = [];
482+ example = [ "eth1" "eth2" ];
483+ description = ''
484+ The list of host interfaces from which macvlans will be
485+ created. For each interface specified, a macvlan interface
486+ will be created and moved to the container.
487+ '';
488+ };
489+490 extraVeths = mkOption {
491 type = with types; attrsOf (submodule { options = networkOptions; });
492 default = {};
···665 ''}
666 ''}
667 INTERFACES="${toString cfg.interfaces}"
668+ MACVLANS="${toString cfg.macvlans}"
669 ${optionalString cfg.autoStart ''
670 AUTO_START=1
671 ''}