this post was submitted on 13 Feb 2026
2 points (100.0% liked)

Nix / NixOS

2634 readers
23 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] stupiv@lemmy.ml 1 points 1 day ago

For instance, it allows the option to be configured in home-manager, while plugins are set via a home-manager option.