| 
									
										
										
										
											2024-07-28 21:08:02 +02:00
										 |  |  | { | 
					
						
							|  |  |  |   config, | 
					
						
							|  |  |  |   lib, | 
					
						
							|  |  |  |   pkgs, | 
					
						
							|  |  |  |   ... | 
					
						
							|  |  |  | }: | 
					
						
							| 
									
										
										
										
											2023-04-07 00:31:44 +02:00
										 |  |  | let | 
					
						
							|  |  |  |   cfg = config.my.profiles.desktop-apps; | 
					
						
							|  |  |  | in | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |   options.my.profiles.desktop-apps = with lib; { | 
					
						
							|  |  |  |     enable = mkEnableOption "desktop-apps profile"; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   config = lib.mkIf cfg.enable { | 
					
						
							|  |  |  |     environment.systemPackages = with pkgs; [ | 
					
						
							|  |  |  |       evince | 
					
						
							|  |  |  |       firefox | 
					
						
							|  |  |  |       ghostwriter | 
					
						
							|  |  |  |       (gimp-with-plugins.override { | 
					
						
							|  |  |  |         plugins = with gimpPlugins; [ | 
					
						
							| 
									
										
										
										
											2023-06-01 00:09:26 +02:00
										 |  |  |           # resynthesizer # disabled because broken with python3 | 
					
						
							| 
									
										
										
										
											2023-04-07 00:31:44 +02:00
										 |  |  |         ]; | 
					
						
							|  |  |  |       }) | 
					
						
							|  |  |  |       keepassxc | 
					
						
							|  |  |  |       libreoffice | 
					
						
							|  |  |  |       (mpv.override { | 
					
						
							|  |  |  |         scripts = with mpvScripts; [ | 
					
						
							|  |  |  |           convert | 
					
						
							|  |  |  |           mpris | 
					
						
							|  |  |  |           simple-mpv-webui | 
					
						
							|  |  |  |           sponsorblock | 
					
						
							|  |  |  |         ]; | 
					
						
							|  |  |  |       }) | 
					
						
							|  |  |  |       newsflash | 
					
						
							|  |  |  |       rhythmbox | 
					
						
							|  |  |  |       tdesktop | 
					
						
							|  |  |  |       thunderbird | 
					
						
							|  |  |  |       vlc | 
					
						
							|  |  |  |       wayvnc | 
					
						
							|  |  |  |       zathura | 
					
						
							|  |  |  |       zeal | 
					
						
							|  |  |  |       # terminal | 
					
						
							|  |  |  |       socat | 
					
						
							|  |  |  |       sshuttle | 
					
						
							|  |  |  |       libnotify | 
					
						
							|  |  |  |       keychain | 
					
						
							|  |  |  |     ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     programs.wireshark = { | 
					
						
							|  |  |  |       enable = true; | 
					
						
							|  |  |  |       package = pkgs.wireshark; # enable the gui | 
					
						
							|  |  |  |     }; | 
					
						
							|  |  |  |   }; | 
					
						
							|  |  |  | } |