Jump to content

Inkscape

From NixOS Wiki

Inkscape is a graphical editor for vector images.

Installation

Inkscape can be installed by adding it to the systemPackages:

❄︎ /etc/nixos/configuration.nix
  environment.systemPackages = with pkgs; [
    inkscape
  ];

Configuration

Plugins/Extensions

Inkscape supports various plugins, which are packages separately in NixOS.

To install Inkscape with all available plugins, use the inkscape-with-extensions derivation instead of the inkscape derivation:

❄︎ /etc/nixos/configuration.nix
  environment.systemPackages = with pkgs; [
    inkscape-with-extensions
  ];

To install only a subset of the available plugins, use inkscape-with-extensions with an override. The example below installs inkscape with only the inkstitch extension:

❄︎ /etc/nixos/configuration.nix
  environment.systemPackages = with pkgs; [
    (inkscape-with-extensions.override {
      inkscapeExtensions = with inkscape-extensions; [ inkstitch ];
    })
  ];

Available extensions can be found by looking them up in nixpkgs