mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
17 lines
313 B
Nix
17 lines
313 B
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
cfg = config.my.profiles."3d-design";
|
|
in
|
|
{
|
|
options.my.profiles."3d-design" = with lib; {
|
|
enable = mkEnableOption "3d-design profile";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
meshlab
|
|
cura
|
|
openscad
|
|
];
|
|
};
|
|
}
|