fix(3d): modularize 3D module

This commit is contained in:
hektor committed 2026-10-25 17:37:20 +01:00
1 parent 445bdde2dc
commit 96d838db75
3 files changed
+23 -11

No files matched your search

+10 -6
View File
@@ -6,11 +6,15 @@
}:
{
config = lib.mkIf config.modules."3d".modeling.enable {
home.packages = with pkgs; [
blender
openscad-lsp
openscad-unstable
];
config = {
home.packages =
with pkgs;
lib.optionals config.modules."3d".modeling.blender.enable [
blender
]
++ lib.optionals config.modules."3d".modeling.openscad.enable [
openscad-lsp
openscad-unstable
];
};
}