Files
nix-files/hosts/common/programs/krita.nix
Colin 3fc6571294 programs: don't persist mesaCacheDir by default
and explicitly add it to every program that uses mesa.

wow, that's a *lot*
2025-01-02 05:36:19 +00:00

26 lines
725 B
Nix

{ ... }:
{
sane.programs.krita = {
buildCost = 1;
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"
];
sandbox.mesaCacheDir = ".cache/krita/mesa"; # TODO: is this the correct app-id?
suggestedPrograms = [
"xwayland" #< XXX(2024-11-10): does not start without X(wayland); not even with QT_QPA_PLATFORM=wayland. see e.g. <https://discuss.kde.org/t/is-there-any-plans-to-add-wayland-support-to-krita/18153>
];
};
}