krita: split into own file and sandbox with bunpen
This commit is contained in:
@@ -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 = {};
|
||||
|
@@ -90,6 +90,7 @@
|
||||
./keymapp.nix
|
||||
./komikku.nix
|
||||
./koreader
|
||||
./krita.nix
|
||||
./less.nix
|
||||
./lftp.nix
|
||||
./lgtrombetta-compass.nix
|
||||
|
21
hosts/common/programs/krita.nix
Normal file
21
hosts/common/programs/krita.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user