updated paths to be based on xdg configurations
This commit is contained in:
		
							parent
							
								
									28ac8a4fa4
								
							
						
					
					
						commit
						8c4bd4291d
					
				
					 14 changed files with 24 additions and 19 deletions
				
			
		|  | @ -1,4 +1,8 @@ | |||
| {osConfig, ...}: { | ||||
| { | ||||
|   config, | ||||
|   osConfig, | ||||
|   ... | ||||
| }: { | ||||
|   imports = [ | ||||
|     ./packages | ||||
|     ./i18n.nix | ||||
|  | @ -35,7 +39,7 @@ | |||
|         #   org.gradle.console=verbose | ||||
|         #   org.gradle.daemon.idletimeout=3600000 | ||||
|         # ''; | ||||
|         ".config/user-dirs.dirs" = { | ||||
|         "${config.xdg.configHome}/user-dirs.dirs" = { | ||||
|           force = true; | ||||
|           text = '' | ||||
|             # This file is written by xdg-user-dirs-update | ||||
|  |  | |||
|  | @ -1,5 +1,6 @@ | |||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   osConfig, | ||||
|   ... | ||||
| }: { | ||||
|  | @ -10,13 +11,13 @@ | |||
|         "downloads" | ||||
|         "documents" | ||||
|         { | ||||
|           directory = ".local/share/Steam"; | ||||
|           directory = "${config.xdg.dataHome}/Steam"; | ||||
|           method = "symlink"; | ||||
|         } | ||||
|       ]; | ||||
|       files = [ | ||||
|         ".bash_history" # keep shell history around | ||||
|         ".local/share/recently-used.xbel" # gnome recently viewed files | ||||
|         "${config.xdg.dataHome}/recently-used.xbel" # gnome recently viewed files | ||||
|       ]; | ||||
|       allowOther = true; | ||||
|     }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue