{ config, lib, inputs, pkgs, home, system, ... }: let blenderPkgs = inputs.nix-warez.packages.${system}; cfg = config.modules.blender; in { options.modules.blender = { enable = lib.mkEnableOption "Blender configuration module"; }; # whole blender config including addons is too fat to include here config = lib.mkIf cfg.enable { home.packages = with pkgs; [ blenderPkgs.blender_4_5 ]; }; # nix'ing a blender config is most likely not possible # could probs install blender addons through nix since they are fat fat mega fat to install TODO }