Co-Authored-By: edef <edef@edef.eu> Co-Authored-by: Ryan Lahfa <raito@lix.systems> Change-Id: Ica1cda177a236814de900f50a8a61d288f58f519
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			468 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			468 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { config, depot, ... }: {
 | |
|   imports = [
 | |
|     depot.third_party.alertmanager-irc-relay.module
 | |
|   ];
 | |
| 
 | |
|   services.alertmanager-irc-relay = {
 | |
|     enable = true;
 | |
|     settings = {
 | |
|       irc_host = "irc.hackint.org";
 | |
|       irc_port = 6697;
 | |
|       irc_nickname = "silentfox";
 | |
|       irc_channels = [
 | |
|         { name = "#snix"; password = "$CHANNEL_PASSWORD"; }
 | |
|       ];
 | |
|     };
 | |
|     environmentFiles = [
 | |
|       config.age.secrets.alertmanager-irc-relay-environment.path
 | |
|     ];
 | |
|   };
 | |
| }
 |