diff --git a/nixos/common/modules/networking.nix b/nixos/common/modules/networking.nix index 1b975c2a..61002d3b 100644 --- a/nixos/common/modules/networking.nix +++ b/nixos/common/modules/networking.nix @@ -14,4 +14,10 @@ allowedUDPPorts = [ ]; }; }; + + boot.kernel.sysctl = { + "net.ipv6.conf.all.disable_ipv6" = true; + }; + + boot.kernelParams = [ "ipv6.disable=1" ]; }