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