document ability to set NIX_REMOTE=unix://path/to/socket
This commit is contained in:
		
							parent
							
								
									c129fc6ee8
								
							
						
					
					
						commit
						e5432574e2
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		|  | @ -154,6 +154,8 @@ $ mount -o bind /mnt/otherdisk/nix /nix</screen> | ||||||
|   <literal>daemon</literal> if you want to use the Nix daemon to |   <literal>daemon</literal> if you want to use the Nix daemon to | ||||||
|   execute Nix operations. This is necessary in <link |   execute Nix operations. This is necessary in <link | ||||||
|   linkend="ssec-multi-user">multi-user Nix installations</link>. |   linkend="ssec-multi-user">multi-user Nix installations</link>. | ||||||
|  |   If the Nix daemon's Unix socket is at some non-standard path, | ||||||
|  |   this variable should be set to <literal>unix://path/to/socket</literal>. | ||||||
|   Otherwise, it should be left unset.</para></listitem> |   Otherwise, it should be left unset.</para></listitem> | ||||||
| 
 | 
 | ||||||
| </varlistentry> | </varlistentry> | ||||||
|  |  | ||||||
|  | @ -705,6 +705,9 @@ void removeTempRoots(); | ||||||
|    * ‘daemon’: The Nix store accessed via a Unix domain socket |    * ‘daemon’: The Nix store accessed via a Unix domain socket | ||||||
|      connection to nix-daemon. |      connection to nix-daemon. | ||||||
| 
 | 
 | ||||||
|  |    * ‘unix://<path>’: The Nix store accessed via a Unix domain socket
 | ||||||
|  |      connection to nix-daemon, with the socket located at <path>. | ||||||
|  | 
 | ||||||
|    * ‘auto’ or ‘’: Equivalent to ‘local’ or ‘daemon’ depending on |    * ‘auto’ or ‘’: Equivalent to ‘local’ or ‘daemon’ depending on | ||||||
|      whether the user has write access to the local Nix |      whether the user has write access to the local Nix | ||||||
|      store/database. |      store/database. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue