Skip to content

Commit

Permalink
nixos network-interfaces.nix: fixup after the last change
Browse files Browse the repository at this point in the history
TL;DR: ipv6 tests were broken (probably the privacy-extension stuff)
NixOS#68227 (comment)
  • Loading branch information
vcunat committed Sep 28, 2019
1 parent 718b6d9 commit 4c07c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/tasks/network-interfaces.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4c07c0f

Please sign in to comment.