forked from jan-leila/nix-config
		
	fixed sops age keyFile getting sent to instal target
This commit is contained in:
		
							parent
							
								
									2b10a4b81d
								
							
						
					
					
						commit
						8934d441dc
					
				
					 3 changed files with 60 additions and 2 deletions
				
			
		|  | @ -31,13 +31,17 @@ | |||
|   sops = { | ||||
|     defaultSopsFile = ../../secrets/secrets.yaml; | ||||
|     defaultSopsFormat = "yaml"; | ||||
|     gnupg.sshKeyPaths = []; | ||||
| 
 | ||||
|     age ={ | ||||
|       keyFile = "/var/lib/sops-nix/key.txt"; | ||||
|       # sshKeyPaths = ["${config.home.homeDirectory}/.ssh/nix-ed25519"]; | ||||
|       sshKeyPaths = []; | ||||
|       # generateKey = true; | ||||
|     }; | ||||
|   }; | ||||
|   environment.sessionVariables = { | ||||
|     AGE_KEY_FILE_LOCATION = "/var/lib/sops-nix/"; | ||||
|   }; | ||||
| 
 | ||||
|   # List packages installed in system profile. | ||||
|   environment.systemPackages = with pkgs; [ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue