nix-config/modules/nix/cad/freecad.nix
smayzy 7868336d5b
All checks were successful
nix flake show / show-flake (push) Successful in 26s
mv cad software to modules
2025-07-21 15:11:55 +02:00

16 lines
325 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 ];
};
}