ma iso: fix ipv6 config

This commit is contained in:
makefu 2021-12-04 20:45:39 +01:00
parent dea261e5c4
commit 40d315b73a
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -1,4 +1,4 @@
{ ... }:
{ lib, ... }:
{
imports = [ ./hardware-configuration.nix ./generated.nix ];
@ -33,8 +33,8 @@
defaultLocale = "en_US.UTF-8";
};
boot.kernel.sysctl = {
"net.ipv6.conf.all.use_tempaddr" = 2;
"net.ipv6.conf.default.use_tempaddr" = 2;
"net.ipv6.conf.all.use_tempaddr" = lib.mkDefault "2";
"net.ipv6.conf.default.use_tempaddr" = lib.mkDefault "2";
};
services.nscd.enable = false;
}