mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-31 01:32:11 +01: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
 | |
|     ];
 | |
|   };
 | |
| }
 | 
