A Nix flake that packages PhotoGIMP customization's for GIMP on Linux, providing a Photoshop-like experience with familiar UI and shortcuts.
This repository provides two Nix packages.
packages.${system}.photogimp3packages.${system}.photogimp3-with-plugins
They should work analogous to pkgs.gimp3 and pkgs.gimp3-with-plugins.
The plain photogimp3 package is aliased to default, as well.
Additionally, this repository provides two Nix apps for tooling.
nix run .#photogimp3-resetnix run .#photogimp3-clean
They exist for the reason that PhotoGIMP is not run in a sandbox and, instead, overwrites "$HOME/.config/GIMP/3.0". Resetting re-initializes this configuration directory with the default GIMP 3.0 configuration. Cleaning will purge all XDG base directories of GIMP 3.0 data.
- Any Linux distro.
- Nix package manager with flakes enabled.
--experimental-features 'nix-command flakes'
Note
This is a fork of Libadoxon/nix-photo-gimp, same functionality here but without NixPak.
First, reference this flake as an input.
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
nix-photogimp3 = {
url = "github:3nol/nix-photogimp3";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
};
}Next, add it to your environment.systemPackages or home.packages like so.
{ inputs, pkgs, ... }: {
home.packages = [ inputs.nix-photogimp3.packages.${pkgs.system}.default ];
}Rebuild, and PhotoGIMP should be available via NixOS or HomeManager.
Use this to install the default package.
nix profile install github:3nol/nix-photogimp3-
PhotoGIMP itself was created by Diolinux.
-
Adapted from aloshy-ai/nix-photogimp, if you're running Darwin, that is the flake for you (only GIMP 2 at the moment).
-
Forked from Libadoxon/nix-photo-gimp, if you want to use NixPak, that is the flake for you (also GIMP 3).