Merge pull request #19150 from ericsagnes/fix/container-optionSet

container module: allowedDevices type to submodule
This commit is contained in:
Joachim F 2016-10-02 12:56:55 +02:00 committed by GitHub
commit e13aea41e0

View File

@ -502,8 +502,7 @@ in
}; };
allowedDevices = mkOption { allowedDevices = mkOption {
type = types.listOf types.optionSet; type = with types; listOf (submodule allowedDeviceOpts);
options = [ allowedDeviceOpts ];
default = []; default = [];
example = [ { node = "/dev/net/tun"; modifier = "rw"; } ]; example = [ { node = "/dev/net/tun"; modifier = "rw"; } ];
description = '' description = ''