docker: block external connections
This commit is contained in:
		
							parent
							
								
									7b670efc67
								
							
						
					
					
						commit
						be3686db82
					
				
					 3 changed files with 42 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
{ pkgs, ... }:
 | 
			
		||||
{ pkgs, lib, ... }:
 | 
			
		||||
{
 | 
			
		||||
  services.flatpak.enable = true;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -22,6 +22,8 @@
 | 
			
		|||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  networking.firewall.extraCommands = lib.getExe pkgs._docker-block-external-connections;
 | 
			
		||||
 | 
			
		||||
  programs.extra-container.enable = true;
 | 
			
		||||
 | 
			
		||||
  programs.firejail.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue