From bc097f461f998da10e917f036311c913a4e40618 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 14 Apr 2023 17:35:45 +0200 Subject: [PATCH] mediaserver: Disable IPv6 for now --- system/hosts/mediaserver.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system/hosts/mediaserver.nix b/system/hosts/mediaserver.nix index 58f82ed..e7373ec 100644 --- a/system/hosts/mediaserver.nix +++ b/system/hosts/mediaserver.nix @@ -73,6 +73,8 @@ in useNetworkd = true; }; + kernel.sysctl."net.ipv6.conf.ens3.disable_ipv6" = 1; + systemd.network = { enable = true; @@ -81,7 +83,7 @@ in matchConfig.Name = "ens3"; networkConfig = { DHCP = "ipv4"; - IPv6AcceptRA = true; + IPv6AcceptRA = false; }; linkConfig.RequiredForOnline = "routable";