diff options
Diffstat (limited to 'modules/software/networking/ipv6.nix')
| -rw-r--r-- | modules/software/networking/ipv6.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/software/networking/ipv6.nix b/modules/software/networking/ipv6.nix new file mode 100644 index 0000000..274c1ae --- /dev/null +++ b/modules/software/networking/ipv6.nix @@ -0,0 +1,9 @@ +{ + boot.kernel.sysctl = { + "net.ipv6.conf.enp42s0.disable_ipv6" = true; + "net.ipv6.conf.wlp4s0.disable_ipv6" = true; + "net.ipv6.conf.tun0.disable_ipv6" = true; + }; + + networking.enableIPv6 = false; +} |