2022-06-23 02:57:41 -04:00
|
|
|
{ config, lib, pkgs, inputs, ... }:
|
2022-10-13 22:13:43 -04:00
|
|
|
let unstable = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}";
|
|
|
|
in {
|
2022-06-23 02:57:41 -04:00
|
|
|
config = lib.mkIf config.nathan.programs.image-editing {
|
2023-08-04 04:16:19 -04:00
|
|
|
home.packages = with pkgs;
|
|
|
|
let
|
|
|
|
orcaAppimage = pkgs.fetchzip {
|
|
|
|
url =
|
|
|
|
"https://github.com/SoftFever/OrcaSlicer/releases/download/v1.6.4-beta/OrcaSlicer_V1.6.4-beta_Linux.zip";
|
|
|
|
sha256 = "sha256-e9CbLBnWC2RuLM8CflKgA45svczS1yh8Mp6WUynS1BY=";
|
|
|
|
};
|
|
|
|
orcaSlicer = appimageTools.wrapType2 {
|
|
|
|
name = "OrcaSlicer";
|
|
|
|
src = "${orcaAppimage}/OrcaSlicer_ubu64.AppImage";
|
|
|
|
extraPkgs = pkgs: with pkgs; [ webkitgtk ];
|
|
|
|
};
|
|
|
|
in [
|
|
|
|
# RawTherapee for raw editing
|
|
|
|
unstable.rawtherapee
|
|
|
|
# Gimp for complex editing
|
|
|
|
gimp-with-plugins
|
|
|
|
# Krita for drawing
|
|
|
|
unstable.krita
|
|
|
|
# Xournal for recording notes
|
|
|
|
xournalpp
|
|
|
|
# Pinta for basic image editing
|
|
|
|
unstable.pinta
|
|
|
|
# Command line tools for image conversion and handling
|
|
|
|
imagemagickBig
|
|
|
|
## 3d printing
|
|
|
|
# Orca Slicer
|
|
|
|
orcaSlicer
|
|
|
|
];
|
2022-06-23 02:57:41 -04:00
|
|
|
};
|
|
|
|
}
|