update backup module to use /run/agenix/borg-key for key location
This commit is contained in:
		
							parent
							
								
									4bb578ac1a
								
							
						
					
					
						commit
						b8d7e4117e
					
				|  | @ -43,7 +43,7 @@ in | ||||||
|           mode = "repokey-blake2"; |           mode = "repokey-blake2"; | ||||||
|           passCommand = "cat /run/agenix/borg-password"; |           passCommand = "cat /run/agenix/borg-password"; | ||||||
|         }; |         }; | ||||||
|         environment = { BORG_RSH = "ssh -i /root/borg/borg-key"; }; # YOU NEED TO PUT THIS HERE MANUALLY |         environment = { BORG_RSH = "ssh -i /run/agenix/borg-key"; }; | ||||||
|         compression = "auto,lzma"; |         compression = "auto,lzma"; | ||||||
|         startAt = "daily"; |         startAt = "daily"; | ||||||
|         extraArgs = "--remote-path=borg1"; |         extraArgs = "--remote-path=borg1"; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue