Colin
c7fd3d2217
``` • Updated input 'nixpkgs-next-unpatched': 'github:nixos/nixpkgs/2baa940f86e1fc54757fd7d1ed551c0a38904bf2' (2024-05-26) → 'github:nixos/nixpkgs/d3d81af60c22e9e93a3930a9630b210362341ab9' (2024-05-31) • Updated input 'nixpkgs-unpatched': 'github:nixos/nixpkgs/7780e5160e011b39019797a4c4b1a4babc80d1bf' (2024-05-26) → 'github:nixos/nixpkgs/4e60a4d94bdc1abafeefc1928aa3cda6ce6c4210' (2024-05-31) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/397c85d463aef789a8dd24c4db467e9ad787907b' (2024-05-26) → 'github:nix-community/nixpkgs-wayland/1db9b79a45c8e346e03480767e6d9749fabfaf10' (2024-05-31) ```
26 lines
694 B
Nix
26 lines
694 B
Nix
{ pkgs, ... }:
|
|
{
|
|
sane.programs.handbrake = {
|
|
buildCost = 1;
|
|
|
|
sandbox.method = "landlock"; #< also supports bwrap, but landlock ensures we don't write to non-mounted tmpfs dir
|
|
sandbox.whitelistDbus = [ "user" ]; # notifications
|
|
sandbox.whitelistWayland = true;
|
|
sandbox.extraHomePaths = [
|
|
"Music"
|
|
"Pictures/from" # e.g. videos filmed from my phone
|
|
"Videos/local"
|
|
"Videos/servo"
|
|
"tmp"
|
|
];
|
|
sandbox.autodetectCliPaths = true;
|
|
|
|
# disable expensive sambda dependency; i don't use it.
|
|
packageUnwrapped = pkgs.handbrake.override {
|
|
ffmpeg_7-full = pkgs.ffmpeg_7-full.override {
|
|
withSamba = false;
|
|
};
|
|
};
|
|
};
|
|
}
|