forked from jan-leila/nix-config
		
	generate ssh keys for each system eve is on
This commit is contained in:
		
							parent
							
								
									8f29881b72
								
							
						
					
					
						commit
						69b8f5ceca
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| { | ||||
|   pkgs, | ||||
|   lib, | ||||
|   config, | ||||
|   osConfig, | ||||
|   ... | ||||
| }: let | ||||
|  | @ -72,5 +73,14 @@ in { | |||
|   programs = { | ||||
|     # Let Home Manager install and manage itself. | ||||
|     home-manager.enable = true; | ||||
| 
 | ||||
|     openssh = { | ||||
|       hostKeys = [ | ||||
|         { | ||||
|           type = "ed25519"; | ||||
|           path = "${config.home.username}_${osConfig.networking.hostName}_ed25519"; | ||||
|         } | ||||
|       ]; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue