8
submitted 9 months ago by callyral@pawb.social to c/nix@programming.dev

cross-posted from: https://pawb.social/post/6260688

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?

you are viewing a single comment's thread
view the rest of the comments
[-] hallettj@beehaw.org 3 points 9 months ago

I haven't used Krita. But I can tell you that those wrappers are "options" defined by NixOS modules. There is documentation for writing them in the NixOS Manual.

Built-in NixOS options are documented in the Configuration Options Appendix with links to implementations which provide helpful examples when writing your own options.

this post was submitted on 27 Jan 2024
8 points (90.0% liked)

Nix / NixOS

1762 readers
20 users here now

Main links

Videos

founded 1 year ago
MODERATORS