Move vlopez user to jungleUsers for koro host
Access to other machines can be easily added into the "hosts" attribute without the need to replicate the configuration. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
		
							parent
							
								
									c80433c2a7
								
							
						
					
					
						commit
						d93914f91d
					
				| @ -74,6 +74,19 @@ | |||||||
|           "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILWjRSlKgzBPZQhIeEtk6Lvws2XNcYwHcwPv4osSgst5 anavarro@ssfhead" |           "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILWjRSlKgzBPZQhIeEtk6Lvws2XNcYwHcwPv4osSgst5 anavarro@ssfhead" | ||||||
|         ]; |         ]; | ||||||
|       }; |       }; | ||||||
|  | 
 | ||||||
|  |       vlopez = { | ||||||
|  |         uid = 4334; | ||||||
|  |         isNormalUser = true; | ||||||
|  |         home = "/home/Computational/vlopez"; | ||||||
|  |         description = "Victor López"; | ||||||
|  |         group = "Computational"; | ||||||
|  |         hosts = [ "koro" ]; | ||||||
|  |         hashedPassword = "$6$0ZBkgIYE/renVqtt$1uWlJsb0FEezRVNoETTzZMx4X2SvWiOsKvi0ppWCRqI66S6TqMBXBdP4fcQyvRRBt0e4Z7opZIvvITBsEtO0f0"; | ||||||
|  |         openssh.authorizedKeys.keys = [ | ||||||
|  |           "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGMwlUZRf9jfG666Qa5Sb+KtEhXqkiMlBV2su3x/dXHq victor@arch" | ||||||
|  |         ]; | ||||||
|  |       }; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     groups = { |     groups = { | ||||||
|  | |||||||
| @ -7,7 +7,6 @@ | |||||||
| 
 | 
 | ||||||
|     ../eudy/cpufreq.nix |     ../eudy/cpufreq.nix | ||||||
|     ../eudy/users.nix |     ../eudy/users.nix | ||||||
|     ./users.nix |  | ||||||
|     ./kernel.nix |     ./kernel.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,17 +0,0 @@ | |||||||
| { ... }: |  | ||||||
| 
 |  | ||||||
| { |  | ||||||
|   users.users = { |  | ||||||
|     vlopez = { |  | ||||||
|       uid = 4334; |  | ||||||
|       isNormalUser = true; |  | ||||||
|       home = "/home/Computational/vlopez"; |  | ||||||
|       description = "Victor López"; |  | ||||||
|       group = "Computational"; |  | ||||||
|       hashedPassword = "$6$0ZBkgIYE/renVqtt$1uWlJsb0FEezRVNoETTzZMx4X2SvWiOsKvi0ppWCRqI66S6TqMBXBdP4fcQyvRRBt0e4Z7opZIvvITBsEtO0f0"; |  | ||||||
|       openssh.authorizedKeys.keys = [ |  | ||||||
|         "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGMwlUZRf9jfG666Qa5Sb+KtEhXqkiMlBV2su3x/dXHq victor@arch" |  | ||||||
|       ]; |  | ||||||
|     }; |  | ||||||
|   }; |  | ||||||
| } |  | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user