diff options
author | Joachim F <joachifm@users.noreply.github.com> | 2019-10-06 11:00:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-06 11:00:36 +0000 |
commit | 103180155da0188305a24c649930bd018323b2cd (patch) | |
tree | ab4301590c285b2022dead7bebd9beed4d6760d3 /nixos/modules/virtualisation | |
parent | 0002a7d9ee08b26c0f6ff267d8f024cc4aee9a5c (diff) | |
parent | fe3da83b7e26b6f7cdde7a457a794c215d16e969 (diff) |
Merge pull request #70447 from joachifm/feat/containers-private-networking-lockKernelModules-compat
nixos/containers: explicitly load kernel modules for networking
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/containers.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix index 9c9f8fc0c2154..691ee2c136ecb 100644 --- a/nixos/modules/virtualisation/containers.nix +++ b/nixos/modules/virtualisation/containers.nix @@ -824,5 +824,12 @@ in ''; environment.systemPackages = [ pkgs.nixos-container ]; + + boot.kernelModules = [ + "bridge" + "macvlan" + "tap" + "tun" + ]; }); } |