2024-02-01 15:28:40 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
sane.programs.handbrake = {
|
2024-05-13 19:59:03 +00:00
|
|
|
buildCost = 1;
|
|
|
|
|
2024-02-06 05:48:30 +00:00
|
|
|
sandbox.method = "landlock"; #< also supports bwrap, but landlock ensures we don't write to non-mounted tmpfs dir
|
2024-02-13 11:58:12 +00:00
|
|
|
sandbox.whitelistDbus = [ "user" ]; # notifications
|
2024-02-14 01:49:49 +00:00
|
|
|
sandbox.whitelistWayland = true;
|
2024-02-05 22:28:15 +00:00
|
|
|
sandbox.extraHomePaths = [
|
|
|
|
"Music"
|
2024-02-27 21:36:18 +00:00
|
|
|
"Pictures/from" # e.g. videos filmed from my phone
|
|
|
|
"Videos/local"
|
2024-02-12 12:54:16 +00:00
|
|
|
"Videos/servo"
|
2024-02-05 22:28:15 +00:00
|
|
|
"tmp"
|
|
|
|
];
|
|
|
|
sandbox.autodetectCliPaths = true;
|
|
|
|
|
2024-02-01 15:28:40 +00:00
|
|
|
# disable expensive sambda dependency; i don't use it.
|
|
|
|
packageUnwrapped = pkgs.handbrake.override {
|
2024-03-22 02:28:37 +00:00
|
|
|
ffmpeg-full = pkgs.ffmpeg-full.override {
|
2024-02-01 15:28:40 +00:00
|
|
|
withSamba = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|