profile/3d-design: init from legacy

This commit is contained in:
Felix Buehler 2023-02-13 21:32:15 +01:00
parent 8884bb792b
commit 09ffed6661
5 changed files with 19 additions and 9 deletions

View file

@ -0,0 +1,17 @@
{ 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
];
};
}