| 
									
										
										
										
											2024-07-28 21:08:02 +02:00
										 |  |  | { | 
					
						
							|  |  |  |   config, | 
					
						
							|  |  |  |   lib, | 
					
						
							|  |  |  |   pkgs, | 
					
						
							|  |  |  |   ... | 
					
						
							|  |  |  | }: | 
					
						
							| 
									
										
										
										
											2023-04-02 16:34:43 +02:00
										 |  |  | let | 
					
						
							|  |  |  |   cfg = config.my.profiles.development; | 
					
						
							|  |  |  | in | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   options.my.profiles.development = with lib; { | 
					
						
							|  |  |  |     enable = mkEnableOption "development profile"; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   config = lib.mkIf cfg.enable { | 
					
						
							|  |  |  |     environment.systemPackages = with pkgs; [ | 
					
						
							|  |  |  |       # tools | 
					
						
							|  |  |  |       cloc | 
					
						
							|  |  |  |       direnv | 
					
						
							|  |  |  |       entr | 
					
						
							|  |  |  |       ripgrep | 
					
						
							|  |  |  |       # general | 
					
						
							|  |  |  |       clang | 
					
						
							|  |  |  |       cmake | 
					
						
							|  |  |  |       gnumake | 
					
						
							|  |  |  |       meson | 
					
						
							|  |  |  |       ninja | 
					
						
							|  |  |  |       # websites | 
					
						
							|  |  |  |       hugo | 
					
						
							|  |  |  |       # scripts | 
					
						
							| 
									
										
										
										
											2024-07-28 21:08:02 +02:00
										 |  |  |       (python3.withPackages ( | 
					
						
							|  |  |  |         ps: with ps; [ | 
					
						
							|  |  |  |           jupyter # notebooks | 
					
						
							|  |  |  |           matplotlib | 
					
						
							|  |  |  |           numpy | 
					
						
							|  |  |  |           pandas | 
					
						
							|  |  |  |           pillow | 
					
						
							|  |  |  |           plotly | 
					
						
							|  |  |  |           scikitlearn | 
					
						
							|  |  |  |           scipy | 
					
						
							|  |  |  |           tqdm # progressbar in pandas | 
					
						
							|  |  |  |           wheel # python development | 
					
						
							|  |  |  |         ] | 
					
						
							|  |  |  |       )) | 
					
						
							| 
									
										
										
										
											2023-04-02 16:34:43 +02:00
										 |  |  |       # linter | 
					
						
							|  |  |  |       shellcheck | 
					
						
							| 
									
										
										
										
											2023-06-24 17:13:27 +02:00
										 |  |  |       typos | 
					
						
							| 
									
										
										
										
											2023-04-02 16:34:43 +02:00
										 |  |  |     ]; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |