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

View File

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