mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-30 09:22:11 +01:00
18 lines
313 B
Nix
18 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
|
||
|
|
];
|
||
|
|
};
|
||
|
|
}
|