forked from jan-leila/nix-config
		
	added key generation to leyla user configuration
This commit is contained in:
		
							parent
							
								
									dbd4407754
								
							
						
					
					
						commit
						e97b8738e5
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -56,6 +56,15 @@ in | |||
|       ) | ||||
|     ]; | ||||
| 
 | ||||
|     # TODO: this should reference the home directory from the user config | ||||
|     services.openssh.hostKeys = [ | ||||
|       { | ||||
|         path = "/home/leyla/.ssh/leyla_" + config.networking.hostName + "_ed25519"; | ||||
|         rounds = 100; | ||||
|         type = "ed25519"; | ||||
|       } | ||||
|     ]; | ||||
| 
 | ||||
|     home-manager.users.leyla = lib.mkIf (cfg.isFullUser || cfg.isThinUser) (import ./home.nix); | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue