nixos/modules/common/applications/freecad.nix

17 lines
317 B
Nix
Raw Normal View History

2024-12-27 18:59:41 -05:00
{ 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
];
};
}