mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 12:03:11 -05:00
16 lines
317 B
Nix
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
|
|
];
|
|
};
|
|
}
|