mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos network-interfaces.nix: fixup after the last change
TL;DR: ipv6 tests were broken (probably the privacy-extension stuff) https://github.com/NixOS/nixpkgs/pull/68227#issuecomment-536159177
This commit is contained in:
parent
718b6d980f
commit
4c07c0fdf0
1 changed files with 1 additions and 1 deletions
|
@ -1092,7 +1092,7 @@ in
|
|||
destination = "/etc/udev/rules.d/98-${name}";
|
||||
text = ''
|
||||
# enable and prefer IPv6 privacy addresses by default
|
||||
ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.coreutils}/bin/echo 2 > /proc/sys/net/ipv6/conf/%k/use_tempaddr"
|
||||
ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.bash}/bin/sh -c 'echo 2 > /proc/sys/net/ipv6/conf/%k/use_tempaddr'"
|
||||
'';
|
||||
})
|
||||
(pkgs.writeTextFile rec {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue