programs: kdenlive: sandbox with bwrap
This commit is contained in:
@@ -1,6 +1,19 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
sane.programs.kdenlive = {
|
sane.programs.kdenlive = {
|
||||||
|
sandbox.method = "bwrap";
|
||||||
|
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.whitelistDri = true;
|
||||||
packageUnwrapped = pkgs.kdenlive.override {
|
packageUnwrapped = pkgs.kdenlive.override {
|
||||||
ffmpeg-full = pkgs.ffmpeg-full.override {
|
ffmpeg-full = pkgs.ffmpeg-full.override {
|
||||||
# avoid expensive samba build for a feature i don't use
|
# avoid expensive samba build for a feature i don't use
|
||||||
|
Reference in New Issue
Block a user