Allow SSH login to any machine
This commit is contained in:
		
							parent
							
								
									f464d022e5
								
							
						
					
					
						commit
						1e20b6b401
					
				
					 3 changed files with 1 additions and 7 deletions
				
			
		|  | @ -7,10 +7,5 @@ | ||||||
|     tags = [ "remote" ]; |     tags = [ "remote" ]; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   # Required for remote builds |  | ||||||
|   security.sudo.wheelNeedsPassword = false; |   security.sudo.wheelNeedsPassword = false; | ||||||
| 
 |  | ||||||
|   imports = [ |  | ||||||
|     ../common/openssh.nix |  | ||||||
|   ]; |  | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -10,6 +10,4 @@ | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   services.fail2ban.enable = true; |   services.fail2ban.enable = true; | ||||||
| 
 |  | ||||||
|   networking.firewall.allowedTCPPorts = [ 22 ]; |  | ||||||
| } | } | ||||||
							
								
								
									
										1
									
								
								hive.nix
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								hive.nix
									
										
									
									
									
								
							|  | @ -23,6 +23,7 @@ in { | ||||||
|       (import "${sources.home-manager}/nixos") |       (import "${sources.home-manager}/nixos") | ||||||
|       (import "${sources.agenix}/modules/age.nix") |       (import "${sources.agenix}/modules/age.nix") | ||||||
|       ./pinning.nix |       ./pinning.nix | ||||||
|  |       ./common/ssh.nix | ||||||
|       ./common/sudo.nix |       ./common/sudo.nix | ||||||
|       ./common/utilities.nix |       ./common/utilities.nix | ||||||
|       ./users/qenya.nix |       ./users/qenya.nix | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue