nix-config/modules/nix/cad/freecad.nix
smayzy 092579af98
All checks were successful
nix flake show / show-flake (push) Successful in 27s
format with nixfmt to nixpkgs standarts
2025-07-24 19:19:46 +02:00

21 lines
332 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.freecad.enable = mkOption {
type = types.bool;
default = false;
description = "enable freecad";
};
config = mkIf config.smayzy.freecad.enable {
environment.systemPackages = with pkgs; [ freecad-wayland ];
};
}