forked from jan-leila/nix-config
		
	updated scrub email settings
This commit is contained in:
		
							parent
							
								
									3f897fae25
								
							
						
					
					
						commit
						7e1e1f357f
					
				
					 2 changed files with 3 additions and 4 deletions
				
			
		|  | @ -42,7 +42,7 @@ | |||
|         host = "smtp.protonmail.ch"; | ||||
|         port = 587; | ||||
|         to = "leyla@jan-leila.com"; | ||||
|         user = "leyla@jan-leila.com"; | ||||
|         user = "noreply@jan-leila.com"; | ||||
|         tokenFile = config.sops.secrets."services/zfs_smtp_token".path; | ||||
|       }; | ||||
|       pool = { | ||||
|  |  | |||
|  | @ -149,14 +149,13 @@ in { | |||
|       autoSnapshot.enable = true; | ||||
| 
 | ||||
|       zed = lib.mkIf config.host.storage.notifications.enable { | ||||
|         # this option is broken we are just going to disable it | ||||
|         enableMail = false; | ||||
|         enableMail = true; | ||||
| 
 | ||||
|         settings = { | ||||
|           ZED_DEBUG_LOG = "/tmp/zed.debug.log"; | ||||
|           ZED_EMAIL_ADDR = [config.host.storage.notifications.to]; | ||||
|           ZED_EMAIL_PROG = "${pkgs.msmtp}/bin/msmtp"; | ||||
|           ZED_EMAIL_OPTS = "@ADDRESS@"; | ||||
|           ZED_EMAIL_OPTS = "-a zfs_notifications @ADDRESS@"; | ||||
| 
 | ||||
|           ZED_NOTIFY_INTERVAL_SECS = 3600; | ||||
|           ZED_NOTIFY_VERBOSE = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue