krita: split into own file and sandbox with bunpen

This commit is contained in:
2024-09-03 16:52:52 +00:00
parent 2965fe29d1
commit 5b9fbb97cb
3 changed files with 22 additions and 16 deletions

View File

@@ -827,22 +827,6 @@ in
];
killall.sandbox.isolatePids = false;
krita.buildCost = 1;
krita.sandbox.method = "bwrap";
krita.sandbox.whitelistWayland = true;
krita.sandbox.autodetectCliPaths = "existing";
krita.sandbox.extraHomePaths = [
"dev"
"Pictures/albums"
"Pictures/cat"
"Pictures/from"
"Pictures/Photos"
"Pictures/Screenshots"
"Pictures/servo-macros"
"ref"
"tmp"
];
landlock-sandboxer.sandbox.enable = false; #< sandbox helper
libcamera = {};

View File

@@ -90,6 +90,7 @@
./keymapp.nix
./komikku.nix
./koreader
./krita.nix
./less.nix
./lftp.nix
./lgtrombetta-compass.nix

View File

@@ -0,0 +1,21 @@
{ ... }:
{
sane.programs.krita = {
buildCost = 1;
sandbox.method = "bunpen";
sandbox.whitelistWayland = true;
sandbox.whitelistX = true;
sandbox.autodetectCliPaths = "existing";
sandbox.extraHomePaths = [
"dev"
"Pictures/albums"
"Pictures/cat"
"Pictures/from"
"Pictures/Photos"
"Pictures/Screenshots"
"Pictures/servo-macros"
"ref"
"tmp"
];
};
}