feat(homeModules): add kdeconnect module
This commit is contained in:
		
							parent
							
								
									3dd8d4a86b
								
							
						
					
					
						commit
						8df43b29bc
					
				
					 3 changed files with 22 additions and 0 deletions
				
			
		|  | @ -9,5 +9,6 @@ | ||||||
|     ./productivity |     ./productivity | ||||||
|     ./gaming  |     ./gaming  | ||||||
|     ./security |     ./security | ||||||
|  |     ./tools | ||||||
|   ]; |   ]; | ||||||
| } | } | ||||||
|  |  | ||||||
							
								
								
									
										5
									
								
								home/modules/desktop/tools/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								home/modules/desktop/tools/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | ||||||
|  | { | ||||||
|  |   imports = [ | ||||||
|  |     ./kdeconnect | ||||||
|  |   ]; | ||||||
|  | } | ||||||
							
								
								
									
										16
									
								
								home/modules/desktop/tools/kdeconnect/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								home/modules/desktop/tools/kdeconnect/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | ||||||
|  | { lib, config, osConfig, ... }: | ||||||
|  | 
 | ||||||
|  | let | ||||||
|  |   inherit (lib) mkIf; | ||||||
|  |   inherit (builtins) elem; | ||||||
|  |   host = osConfig.systemModules.host; | ||||||
|  | in | ||||||
|  | 
 | ||||||
|  | { | ||||||
|  |   config = mkIf (elem "workstation" host.function) { | ||||||
|  |     services.kdeconnect = { | ||||||
|  |       enable = true; | ||||||
|  |       indicator = true; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue