programs: brightnessctl: switch to landlock

This commit is contained in:
Colin 2024-02-13 11:23:41 +00:00
parent 82c386a6a4
commit 18eec98cae

View File

@ -225,7 +225,7 @@ in
blanket.sandbox.wrapperType = "wrappedDerivation";
blanket.sandbox.whitelistAudio = true;
brightnessctl.sandbox.method = "bwrap";
brightnessctl.sandbox.method = "landlock"; # also bwrap, but landlock is more responsive
brightnessctl.sandbox.wrapperType = "wrappedDerivation";
brightnessctl.sandbox.extraPaths = [
"/sys/class/backlight"