about summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2023-02-17 23:28:32 +0200
committerGitHub <noreply@github.com>2023-02-17 23:28:32 +0200
commitefd1d7ed76568d600e1d5b7733fa05f5eadd9846 (patch)
tree151639b9fe364cdc83f1910b396d7407f281b06f /nixos/modules/virtualisation
parent9f987b895db3172136b78fff8f410008f37185df (diff)
parent12755ecdd522b502048c5b915cae1241778feabf (diff)
Merge pull request #97677 from ryneeverett/lockkernelmodules-docker-more
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/docker.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/docker.nix b/nixos/modules/virtualisation/docker.nix
index d9bd10ba1fc8f..505cb4e32e1e2 100644
--- a/nixos/modules/virtualisation/docker.nix
+++ b/nixos/modules/virtualisation/docker.nix
@@ -163,7 +163,7 @@ in
   ###### implementation
 
   config = mkIf cfg.enable (mkMerge [{
-      boot.kernelModules = [ "bridge" "veth" ];
+      boot.kernelModules = [ "bridge" "veth" "br_netfilter" "xt_nat" ];
       boot.kernel.sysctl = {
         "net.ipv4.conf.all.forwarding" = mkOverride 98 true;
         "net.ipv4.conf.default.forwarding" = mkOverride 98 true;