nixos/modules/common/applications/freecad.nix
2024-12-27 18:59:41 -05:00

16 lines
317 B
Nix

{ 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
];
};
}