flake-parts: Almost done with yggdrasil
This commit is contained in:
		
							parent
							
								
									d579c8ad2c
								
							
						
					
					
						commit
						ebc8a545c8
					
				
					 43 changed files with 2650 additions and 135 deletions
				
			
		
							
								
								
									
										17
									
								
								modules/server/ssh.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								modules/server/ssh.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| { | ||||
|   flake.modules.nixos.server = | ||||
|     { ... }: | ||||
|     { | ||||
|       services.openssh = { | ||||
|         enable = true; | ||||
|         settings = { | ||||
|           PasswordAuthentication = false; | ||||
|           KbdInteractiveAuthentication = false; | ||||
|         }; | ||||
|       }; | ||||
| 
 | ||||
|       services.fail2ban = { | ||||
|         enable = true; | ||||
|       }; | ||||
|     }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue