summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/legacy_only.nix
diff options
context:
space:
mode:
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" ];
+}