depot/doc/packages/krita.section.md
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

1.1 KiB

Krita

Python plugins

"pykrita" plugins should be installed following Krita's manual. This generally involves extracting the extension to ~/.local/share/krita/pykrita/.

Binary plugins

Binary plugins are Dynamically Linked Libraries to be loaded by Krita.

Note: You most likely won't need to deal with binary plugins, all known plugins are bundled and enabled by default.

Installing binary plugins

You can choose what plugins are added to Krita by overriding the binaryPlugins attribute.

If you want to add plugins instead of replacing, you can read the list of previous plugins via pkgs.krita.binaryPlugins:

(pkgs.krita.override (old: {
    binaryPlugins = old.binaryPlugins ++ [ your-plugin ];
}))

Example structure of a binary plugin

/nix/store/00000000000000000000000000000000-krita-plugin-example-1.2.3
└── lib
   └── kritaplugins
      └── krita_example.so