summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/legacy_only.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-05-25 16:07:42 +0200
committerlassulus <lassulus@lassul.us>2020-05-25 16:07:42 +0200
commit6c8210f93ae6715cbf5aa2adfef8bfd6bfc908b2 (patch)
treef4f87d2212f9c3f628c7ed6b5f652e323642fd52 /makefu/2configs/legacy_only.nix
parentd8386001a04b081e5779386b911cf7d4e9fd30e0 (diff)
parent4ba18c6d2a442834e79b5526eff0aa2c5f8398e8 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/legacy_only.nix')
-rw-r--r--makefu/2configs/legacy_only.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefu/2configs/legacy_only.nix b/makefu/2configs/legacy_only.nix
new file mode 100644
index 000000000..3d40471ba
--- /dev/null
+++ b/makefu/2configs/legacy_only.nix
@@ -0,0 +1,8 @@
+{ networking.enableIPv6 = false;
+ boot.kernel.sysctl = {
+ "net.ipv6.conf.all.disable_ipv6" = 1;
+ "net.ipv6.conf.default.disable_ipv6" = 1;
+ "net.ipv6.conf.lo.disable_ipv6" = 1;
+ };
+ boot.kernelParams = [ "ipv6.disable=1" ];
+}