programs: handbrake: sandbox with bwrap
This commit is contained in:
parent
ddc41bc9d8
commit
6eb2a3d67f
|
@ -1,6 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
sane.programs.handbrake = {
|
||||
sandbox.method = "bwrap"; #< landlock would be better (prevents output to tmp dirs), but needs work for /mnt/servo-media to function.
|
||||
sandbox.wrapperType = "wrappedDerivation";
|
||||
sandbox.extraHomePaths = [
|
||||
"Music"
|
||||
"Pictures" # i have some videos in there too.
|
||||
"Videos"
|
||||
"tmp"
|
||||
];
|
||||
sandbox.extraPaths = [
|
||||
"/mnt/servo-media/Pictures"
|
||||
"/mnt/servo-media/Videos"
|
||||
];
|
||||
sandbox.autodetectCliPaths = true;
|
||||
|
||||
# disable expensive sambda dependency; i don't use it.
|
||||
packageUnwrapped = pkgs.handbrake.override {
|
||||
ffmpeg_5-full = pkgs.ffmpeg_5-full.override {
|
||||
|
|
Loading…
Reference in New Issue
Block a user