programs: koreader: enable DRI in the sandbox, and use wrappedDerivation

This commit is contained in:
Colin 2024-02-02 17:22:57 +00:00
parent 86b23e8183
commit 3c96f6d418

View File

@ -46,7 +46,8 @@ in {
sane.programs.koreader = {
packageUnwrapped = pkgs.koreader-from-src;
sandbox.method = "bwrap"; # sandboxes fine under landlock too, except for FTP
# sandbox.wrapperType = "wrappedDerivation";
sandbox.wrapperType = "wrappedDerivation";
sandbox.whitelistDri = true; # reduces startup time and subjective page flip time
sandbox.embedProfile = true;
sandbox.extraHomePaths = [
"Books"