Merge pull request #19150 from ericsagnes/fix/container-optionSet
container module: allowedDevices type to submodule
This commit is contained in:
commit
e13aea41e0
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user