summaryrefslogtreecommitdiff
path: root/modules/networking/ipv6.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/networking/ipv6.nix')
-rw-r--r--modules/networking/ipv6.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/networking/ipv6.nix b/modules/networking/ipv6.nix
new file mode 100644
index 0000000..274c1ae
--- /dev/null
+++ b/modules/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;
+}