Home Explore Blog Models CI



nixpkgs

doc/packages/inkscape.section.md
1b3a17c7e8043bbbbf787935325e36a3df62a0986eaaa2f800000003000003a0
# Inkscape {#sec-inkscape}

[Inkscape](https://inkscape.org) is a powerful vector graphics editor.

## Plugins {#inkscape-plugins}
Inkscape plugins are collected in the [`inkscape-extensions`](https://search.nixos.org/packages?channel=unstable&type=packages&query=cudaPackages) package set.
To enable them, use an override on `inkscape-with-extensions`:

```nix
inkscape-with-extensions.override {
  inkscapeExtensions = with inkscape-extensions; [ inkstitch ];
}
```

Similarly, this works in the shell:

```bash
$ nix-shell -p 'inkscape-with-extensions.override { inkscapeExtensions = with inkscape-extensions; [inkstitch]; }'
[nix-shell:~]$ # Ink/Stitch is now available via the extension menu
[nix-shell:~]$ inkscape
```

All available extensions can be enabled by passing `inkscapeExtensions = null;`.

::: {.note}
Loading the Inkscape extensions stand-alone (without using `override`) does not affect Inkscape at all.
:::

Chunks
e36e8509 (1st chunk of `doc/packages/inkscape.section.md`)
Title: Inkscape Extensions and Plugins
Summary
This section introduces Inkscape as a vector graphics editor and details how to manage its plugins and extensions. Inkscape plugins are bundled in the `inkscape-extensions` package set. To enable specific extensions, users can override `inkscape-with-extensions` and pass a list of desired extensions (e.g., `inkstitch`). This can be done in a Nix configuration or directly in a shell using `nix-shell`. Alternatively, all available extensions can be enabled by setting `inkscapeExtensions = null`. A key point highlighted is that loading extensions stand-alone without using the `override` mechanism will not affect Inkscape.