added authorized ssh key
This commit is contained in:
		
							parent
							
								
									b0e6a17fe6
								
							
						
					
					
						commit
						6b1eaa7308
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		|  | @ -1,4 +1,12 @@ | ||||||
| {...}: { | { | ||||||
|  |   lib, | ||||||
|  |   config, | ||||||
|  |   ... | ||||||
|  | }: { | ||||||
|  |   users.users.leyla.openssh.authorizedKeys.keys = lib.mkIf config.host.users.leyla.isTerminalUser [ | ||||||
|  |     "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJHeItmt8TRW43uNcOC+eIurYC7Eunc0V3LGocQqLaYj leyla@horizon" | ||||||
|  |   ]; | ||||||
|  | 
 | ||||||
|   services = { |   services = { | ||||||
|     openssh = { |     openssh = { | ||||||
|       enable = true; |       enable = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue