sops: switch to id_ed25519 keys
This commit is contained in:
		
							parent
							
								
									21d747cb71
								
							
						
					
					
						commit
						1a4fd19596
					
				
					 5 changed files with 71 additions and 98 deletions
				
			
		| 
						 | 
				
			
			@ -1,12 +1,15 @@
 | 
			
		|||
{ pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  environment.systemPackages = with pkgs; [
 | 
			
		||||
    sops-master
 | 
			
		||||
    sops
 | 
			
		||||
    gnupg
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  sops = {
 | 
			
		||||
    defaultSopsFile = ../secrets/test.yaml;
 | 
			
		||||
    age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
 | 
			
		||||
    age.sshKeyPaths = [
 | 
			
		||||
      "/etc/ssh/ssh_host_ed25519_key"
 | 
			
		||||
      "/home/lelgenio/.ssh/id_ed25519"
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue