fix(3d): modularize 3D module
check / lint (push) Successful in 15s

This commit is contained in:
hektor committed 2026-10-25 14:37:05 +01:00
1 parent f77dea3e42
commit 2fe2133e70
3 files changed
+23 -13

No files matched your search

+10 -8
View File
@@ -1,16 +1,18 @@
{
config,
lib,
pkgs,
...
}:
{
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
];
};
}