diff options
author | Vladimír Čunát <v@cunat.cz> | 2019-09-28 19:31:31 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-09-28 19:33:44 +0200 |
commit | 4c07c0fdf033dfe1512a195acfd12cbcdcf26f9f (patch) | |
tree | 5a4b17a1e9a50cd77083535d63e7dd5cf68d1076 /nixos | |
parent | 718b6d980f0a1b6841e464e8b25bf06a57be6c7f (diff) | |
download | nixpkgs-4c07c0fdf033dfe1512a195acfd12cbcdcf26f9f.tar nixpkgs-4c07c0fdf033dfe1512a195acfd12cbcdcf26f9f.tar.gz nixpkgs-4c07c0fdf033dfe1512a195acfd12cbcdcf26f9f.tar.bz2 nixpkgs-4c07c0fdf033dfe1512a195acfd12cbcdcf26f9f.tar.lz nixpkgs-4c07c0fdf033dfe1512a195acfd12cbcdcf26f9f.tar.xz nixpkgs-4c07c0fdf033dfe1512a195acfd12cbcdcf26f9f.tar.zst nixpkgs-4c07c0fdf033dfe1512a195acfd12cbcdcf26f9f.zip |
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
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/tasks/network-interfaces.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index 7351f8b6b7e..29310f6f24a 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -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 { |