From 10b0840daabaaaa1b5db5360f2d66ef7fc92fbe2 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 14 Oct 2022 08:38:19 +0200 Subject: Disable IPv6 RA/autoconf/temp addr --- nix/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/configuration.nix b/nix/configuration.nix index 353cc7d..17bb9b8 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -36,6 +36,9 @@ boot.kernel.sysctl = { "vm.max_map_count" = 262144; + "net.ipv6.conf.all.accept_ra" = 0; + "net.ipv6.conf.all.autoconf" = 0; + "net.ipv6.conf.all.use_tempaddr" = 0; }; services.journald.extraConfig = '' -- cgit v1.2.3