refactor(home:mime-apps): move mime configuration to relevant application modules
This commit is contained in:
		
							parent
							
								
									65fb953361
								
							
						
					
					
						commit
						55f907cf08
					
				
					 7 changed files with 225 additions and 189 deletions
				
			
		|  | @ -3,6 +3,9 @@ | |||
| let | ||||
|   inherit (lib) mkIf; | ||||
|   cfg = config.ooknet.media.image.imv; | ||||
|   imvMime = { | ||||
|     "image/*" = ["imv.desktop"]; | ||||
|   }; | ||||
| in | ||||
| 
 | ||||
| { | ||||
|  | @ -12,5 +15,9 @@ in | |||
|         enable = true; | ||||
|       }; | ||||
|     }; | ||||
|     xdg.mimeApps = { | ||||
|       associations.added = imvMime; | ||||
|       defaultApplications = imvMime; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue