programs: xarchiver: sandbox
This commit is contained in:
@@ -1,7 +1,21 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.xarchiver.packageUnwrapped = pkgs.xarchiver.override {
|
||||
# unar doesn't cross compile well, so disable support for it
|
||||
unar = null;
|
||||
sane.programs.xarchiver = {
|
||||
packageUnwrapped = pkgs.xarchiver.override {
|
||||
# unar doesn't cross compile well, so disable support for it
|
||||
unar = null;
|
||||
};
|
||||
|
||||
sandbox.method = "bwrap";
|
||||
sandbox.wrapperType = "wrappedDerivation";
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.extraHomePaths = [
|
||||
"archive"
|
||||
"ref"
|
||||
"tmp"
|
||||
"use"
|
||||
];
|
||||
# allow extracting an archive in the rare case it's outside the common directories
|
||||
sandbox.autodetectCliPaths = "existing";
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user