docker: block external connections

This commit is contained in:
Leonardo Eugênio 2025-01-10 11:06:58 -03:00
parent 7b670efc67
commit be3686db82
3 changed files with 42 additions and 1 deletions

View file

@ -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;