summaryrefslogtreecommitdiff
path: root/archetypes/collections/desktop/cad.nix
blob: 33edcd5e03521878fbee487858316a60306033ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, lib, config, ... }: let
	cfg = config._archetypes.collections.desktop.cad;
in {
	options._archetypes.collections.desktop.cad = {
		enable = lib.mkEnableOption "install cad and 3d printing software";
	};

	config = lib.mkIf cfg.enable {
		environment.systemPackages = with pkgs; [
			blender
			freecad
			prusa-slicer
		];
	};
}