summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/legacy_v4.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-06-17 09:50:53 +0200
committermakefu <github@syntax-fehler.de>2020-06-17 09:50:53 +0200
commit9d5f48c288c35670af59964cb8160dd3a9d02762 (patch)
tree8368d3ffbe9455ed06901a334bcc3ba0b2b71449 /makefu/2configs/legacy_v4.nix
parentbff6372f51943849dd1ca8bd164036c1a5fd0fdd (diff)
ma legacy_v4: this is a sad day
Diffstat (limited to 'makefu/2configs/legacy_v4.nix')
-rw-r--r--makefu/2configs/legacy_v4.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefu/2configs/legacy_v4.nix b/makefu/2configs/legacy_v4.nix
new file mode 100644
index 000000000..3d40471ba
--- /dev/null
+++ b/makefu/2configs/legacy_v4.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" ];
+}