From ff6933fa1abb9c9e248bc3988b9af7f27569b8b3 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 14 Jun 2021 21:56:58 +0200 Subject: [PATCH] nixos-module/network: disable IPv6AcceptRA by default --- nix/nixos-module/network.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nix/nixos-module/network.nix b/nix/nixos-module/network.nix index 943661f..fd41187 100644 --- a/nix/nixos-module/network.nix +++ b/nix/nixos-module/network.nix @@ -32,8 +32,10 @@ in in rec { matchConfig.Name = ifName; - networkConfig.IPForward = - config.site.hosts.${hostName}.isRouter; + networkConfig = { + IPForward = config.site.hosts.${hostName}.isRouter; + IPv6AcceptRA = lib.mkDefault false; + }; addresses = let