mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-14 15:22:23 -05:00
FreeCAD
This commit is contained in:
parent
49403e9078
commit
14b172fa24
5 changed files with 34 additions and 32 deletions
16
modules/common/applications/freecad.nix
Normal file
16
modules/common/applications/freecad.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue