Add metrics-nekomesh host
This commit is contained in:
		
					parent
					
						
							
								1ad857a33a
							
						
					
				
			
			
				commit
				
					
						3fcd427251
					
				
			
		
					 10 changed files with 138 additions and 0 deletions
				
			
		
							
								
								
									
										21
									
								
								config/hosts/metrics-nekomesh/secrets.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								config/hosts/metrics-nekomesh/secrets.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,21 @@
 | 
			
		|||
{ keyCommandEnv, ... }:
 | 
			
		||||
{
 | 
			
		||||
  deployment.keys = {
 | 
			
		||||
    "metrics-nekomesh-grafana-admin-password.secret" = {
 | 
			
		||||
      keyCommand = keyCommandEnv ++ [ "pass" "metrics-nekomesh/grafana/admin-password" ];
 | 
			
		||||
      destDir = "/secrets";
 | 
			
		||||
      user = "grafana";
 | 
			
		||||
      group = "grafana";
 | 
			
		||||
      permissions = "0640";
 | 
			
		||||
      uploadAt = "pre-activation";
 | 
			
		||||
    };
 | 
			
		||||
    "mail-nekomesh-nekover-se.secret" = {
 | 
			
		||||
      keyCommand = keyCommandEnv ++ [ "pass" "mail/nekomesh-nekover-se" ];
 | 
			
		||||
      destDir = "/secrets";
 | 
			
		||||
      user = "grafana";
 | 
			
		||||
      group = "grafana";
 | 
			
		||||
      permissions = "0640";
 | 
			
		||||
      uploadAt = "pre-activation";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue