Add flatpak share to XDG_DATA_DIRS
This allows .desktop files to be loaded by KDE via kbuildsycoca6
This commit is contained in:
		
							parent
							
								
									92950ccf08
								
							
						
					
					
						commit
						1c229d649a
					
				| 
						 | 
					@ -41,6 +41,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	(services
 | 
						(services
 | 
				
			||||||
		(list
 | 
							(list
 | 
				
			||||||
 | 
								(simple-service 'flatpak-data-dir home-environment-variables-service-type
 | 
				
			||||||
 | 
									`(("XDG_DATA_DIRS" . ,(string-append "/var/lib/flatpak/exports/share:" (getenv "XDG_DATA_DIRS")))))
 | 
				
			||||||
			(service home-zsh-service-type (home-zsh-configuration
 | 
								(service home-zsh-service-type (home-zsh-configuration
 | 
				
			||||||
				(environment-variables
 | 
									(environment-variables
 | 
				
			||||||
					`(("EDITOR" . ,(file-append vim "/bin/vim"))))
 | 
										`(("EDITOR" . ,(file-append vim "/bin/vim"))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue