modules/programs: plumb capabilities into bunpen sandboxer
This commit is contained in:
@@ -31,6 +31,7 @@ let
|
|||||||
};
|
};
|
||||||
bunpenGenerators = {
|
bunpenGenerators = {
|
||||||
autodetectCliPaths = style: [ "--bunpen-autodetect" style ];
|
autodetectCliPaths = style: [ "--bunpen-autodetect" style ];
|
||||||
|
capability = cap: [ "--bunpen-cap" cap ];
|
||||||
method = m: assert m == "bunpen";
|
method = m: assert m == "bunpen";
|
||||||
# smuggle in some defaults
|
# smuggle in some defaults
|
||||||
(lib.concatMap (devnode: [ "--bunpen-path" "/dev/${devnode}" ]) [
|
(lib.concatMap (devnode: [ "--bunpen-path" "/dev/${devnode}" ]) [
|
||||||
|
Reference in New Issue
Block a user