krita patch

This commit is contained in:
2025-05-31 15:21:56 -06:00
parent af33349c10
commit 6054385386
3 changed files with 36 additions and 170 deletions

View File

@@ -4,6 +4,16 @@
pkgs,
...
}:
let
# Patch to libpng so that big brushes can be loaded
patched-krita = pkgs.replaceDependency {
drv = pkgs.krita;
oldDependency = pkgs.libpng;
newDependency = pkgs.libpng.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ../../patches/libpng.patch ];
});
};
in
{
options.my = {
apps.art.enable = lib.mkEnableOption "enable";
@@ -12,11 +22,11 @@
config = lib.mkIf config.my.apps.art.enable {
users.users.jawz.packages =
builtins.attrValues {
inherit patched-krita; # art to your heart desire!
inherit (pkgs)
eyedropper # color picker
emulsion-palette # self explanatory
gimp # the coolest bestest art program to never exist
krita # art to your heart desire!
mypaint # not the best art program
mypaint-brushes # but it's got some
mypaint-brushes1 # nice damn brushes