diff options
author | Artturi <Artturin@artturin.com> | 2023-02-17 23:28:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 23:28:32 +0200 |
commit | efd1d7ed76568d600e1d5b7733fa05f5eadd9846 (patch) | |
tree | 151639b9fe364cdc83f1910b396d7407f281b06f /nixos/modules/virtualisation | |
parent | 9f987b895db3172136b78fff8f410008f37185df (diff) | |
parent | 12755ecdd522b502048c5b915cae1241778feabf (diff) |
Merge pull request #97677 from ryneeverett/lockkernelmodules-docker-more
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/docker.nix | 2 |
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; |