Recently, I switched to NixOS and realised that there is no G’MIC plugin package for Krita.

There’s this issue that was last active in October 2023.

I was wondering if anyone has managed to install this without using another package manager (such as Flatpak) or installing an AppImage manually, for system reproducibility, and I also don’t wanna have two package managers in one system.

Ideally, there’d be a wrapper, so you could do something like:

{ pkgs, ... }: {
  programs.krita = {
    enable = true;
    gmic.enable = true;
    gmic.package = pkgs.krita.gmic-qt;
  };
}

Thoughts?

Related: is there some kind of guide on these program.<name> wrappers? What are they and where are they defined?

  • callyral [he/they]OP
    link
    English
    3
    edit-2
    4 months ago

    But yes, I can vouch that what you’ve done is actually wrong.

    I know, I provided that snippet as an example of what I think would work better.