I'm using xdg.dataFile in order to install krita plugin, the issue is that krita plugin need to have their content placed in the `~/.local/share/krita/pykrita" and cannot be put in subfolder. For now I'm doing
xdg.dataFile = {
"krita/pykrita" = {
enable = true;
source = pkgs.fetchFromGitHub {
owner = "veryprofessionaldodo";
repo = "Krita-UI-Redesign";
rev = "df37ade2334b09ca30820286e3e16c26b0fbb4f8";
hash = "sha256-kGs1K2aNIiQq//W8IQ2JX4iyXq43z2I/WnI8aJjg8Yk=";
};
recursive = true;
};
};
It's fine when i use a single plugin, but when a use multiple plugins i gotta use multiple fetchers which im not sure how to do. tried to do source = <fetcher 1> + <fetcher 2> which surprisingly builds but then the home-manager service fails
pkgs.symlinkJoin might help:
You might also want to define plugins in separate files: