Add Orcaslicer

This commit is contained in:
Nathan McCarty 2023-08-04 04:16:19 -04:00
parent 0e4d46d025
commit a82dd9710b
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 29 additions and 14 deletions

View File

@ -2,7 +2,19 @@
let unstable = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}"; let unstable = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}";
in { in {
config = lib.mkIf config.nathan.programs.image-editing { config = lib.mkIf config.nathan.programs.image-editing {
home.packages = with pkgs; [ 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 # RawTherapee for raw editing
unstable.rawtherapee unstable.rawtherapee
# Gimp for complex editing # Gimp for complex editing
@ -15,6 +27,9 @@ in {
unstable.pinta unstable.pinta
# Command line tools for image conversion and handling # Command line tools for image conversion and handling
imagemagickBig imagemagickBig
## 3d printing
# Orca Slicer
orcaSlicer
]; ];
}; };
} }