mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-11 02:56:27 +00:00
28 lines
357 B
Nix
28 lines
357 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.usecases."3d-printing";
|
|
in
|
|
{
|
|
options.usecases."3d-printing" = {
|
|
enable = mkEnableOption "Enable 3d printing stuff";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
lpc21isp
|
|
dfu-util
|
|
cura
|
|
orca-slicer
|
|
freecad
|
|
];
|
|
};
|
|
}
|