added stuff
This commit is contained in:
parent
937f28770d
commit
236b8c2a6b
907 changed files with 70990 additions and 0 deletions
22
nyx/homes/notashelf/packages/gui/3dprint.nix
Normal file
22
nyx/homes/notashelf/packages/gui/3dprint.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
osConfig,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (osConfig) modules;
|
||||
|
||||
sys = modules.system;
|
||||
prg = sys.programs;
|
||||
|
||||
dev = modules.device;
|
||||
acceptedTypes = ["laptop" "desktop" "hybrid" "lite"];
|
||||
in {
|
||||
config = mkIf ((prg.gui.enable && sys.printing."3d".enable) && (builtins.elem dev.type acceptedTypes)) {
|
||||
home.packages = with pkgs; [
|
||||
freecad
|
||||
prusa-slicer
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue