This commit is contained in:
Annika Merris 2024-12-27 18:59:41 -05:00
parent 49403e9078
commit 14b172fa24
5 changed files with 34 additions and 32 deletions

View file

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
{
options = {
freecad = {
enable = lib.mkEnableOption {
description = "Enable FreeCAD";
default = false;
};
};
};
config = lib.mkIf (config.gui.enable && config.freecad.enable) {
environment.systemPackages = [
pkgs.freecad
];
};
}