diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-14 08:38:19 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-10-14 08:38:19 +0200 |
commit | 10b0840daabaaaa1b5db5360f2d66ef7fc92fbe2 (patch) | |
tree | c40f4d96053ff9b1e378686542b0b2d634853fdf | |
parent | 3247bf69cf422feb8689ec2f1d4cfed7d4a5d413 (diff) | |
download | nixcfg-10b0840daabaaaa1b5db5360f2d66ef7fc92fbe2.tar.gz nixcfg-10b0840daabaaaa1b5db5360f2d66ef7fc92fbe2.zip |
Disable IPv6 RA/autoconf/temp addr
-rw-r--r-- | nix/configuration.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 = '' |