nix-files/hosts/common/programs/kdenlive.nix

27 lines
679 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
sane.programs.kdenlive = {
2024-02-05 22:01:34 +00:00
sandbox.method = "bwrap";
sandbox.wrapperType = "wrappedDerivation";
sandbox.extraHomePaths = [
"Music"
"Pictures" # i have some videos in there too.
"Pictures/servo-macros"
2024-02-05 22:01:34 +00:00
"Videos"
"Videos/servo"
2024-02-05 22:01:34 +00:00
"tmp"
];
sandbox.whitelistAudio = true;
sandbox.whitelistDbus = [ "user" ]; # notifications
2024-02-05 22:01:34 +00:00
sandbox.whitelistDri = true;
sandbox.whitelistWayland = true;
packageUnwrapped = pkgs.kdenlive.override {
ffmpeg-full = pkgs.ffmpeg-full.override {
# avoid expensive samba build for a feature i don't use
withSamba = false;
};
};
};
}