moved sops config into common
This commit is contained in:
		
							parent
							
								
									8f8cea0ab2
								
							
						
					
					
						commit
						417aafe2e8
					
				
					 6 changed files with 16 additions and 19 deletions
				
			
		|  | @ -11,17 +11,6 @@ | |||
|       ../../enviroments/server | ||||
|     ]; | ||||
| 
 | ||||
|   sops = { | ||||
|     defaultSopsFile = ../../secrets/secrets.yaml; | ||||
|     defaultSopsFormat = "yaml"; | ||||
| 
 | ||||
|     age ={ | ||||
|       keyFile = "/home/leyla/.config/sops/age/keys.txt"; | ||||
|       # sshKeyPaths = ["${config.home.homeDirectory}/.ssh/nix-ed25519"]; | ||||
|       # generateKey = true; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   # home.sessionVariables = { | ||||
|   #   SOPS_AGE_KEY_FILE = "${config.home.homeDirectory}/.config/sops-nix/key.txt"; | ||||
|   # }; | ||||
|  |  | |||
|  | @ -11,11 +11,6 @@ | |||
|       ../../enviroments/client | ||||
|     ]; | ||||
| 
 | ||||
|   sops.defaultSopsFile = ../../secrets/secrets.yaml; | ||||
|   sops.defaultSopsFormat = "yaml"; | ||||
| 
 | ||||
|   sops.age.keyFile = "/home/leyla/.config/sops/age/keys.txt"; | ||||
| 
 | ||||
|   users.leyla = { | ||||
|     isFullUser = true; | ||||
|     hasPiperMouse = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue