programs: brightnessctl: sandbox

This commit is contained in:
Colin 2024-02-13 10:55:44 +00:00
parent bb68506839
commit b4a20da78a

View File

@ -224,6 +224,14 @@ in
blanket.sandbox.method = "bwrap";
blanket.sandbox.wrapperType = "wrappedDerivation";
brightnessctl.sandbox.method = "bwrap";
brightnessctl.sandbox.wrapperType = "wrappedDerivation";
brightnessctl.sandbox.extraPaths = [
"/sys/class/backlight"
"/sys/devices"
];
brightnessctl.sandbox.whitelistDbus = [ "system" ];
"cacert.unbundled".sandbox.enable = false;
cargo.persist.byStore.plaintext = [ ".cargo" ];