librewolf: sandbox with bwrap

This commit is contained in:
2024-01-27 15:16:53 +00:00
parent d69d8f64f3
commit eec89e2cc1

View File

@@ -6,6 +6,16 @@
# packageUnwrapped = pkgs.libreoffice-bin;
# packageUnwrapped = pkgs.libreoffice-still;
packageUnwrapped = pkgs.libreoffice-fresh;
sandbox.method = "bwrap";
sandbox.extraConfig = [
"--sane-sandbox-autodetect"
];
sandbox.extraHomePaths = [
# allow a spot to save files.
# with bwrap sandboxing, saving to e.g. ~/ succeeds but the data is inaccessible outside the sandbox,
# easy to shoot yourself in the foot!
"tmp"
];
slowToBuild = true;