diff options
author | volth <volth@volth.com> | 2019-09-06 21:27:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-06 21:27:10 +0000 |
commit | 8b93e5c8a4b57431b76f2f634cda11ceffc0f107 (patch) | |
tree | bfa5384e9be276a7ab2f4884de6037df34cfb712 /nixos/modules/tasks | |
parent | efccc442d97d9e6df8c1bb2b28ddcb39f45c808f (diff) |
'udev' needs absolute path to 'echo'
Diffstat (limited to 'nixos/modules/tasks')
-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 43a1c0fe9026..7351f8b6b7e1 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+="echo 2 > /proc/sys/net/ipv6/conf/%k/use_tempaddr" + ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.coreutils}/bin/echo 2 > /proc/sys/net/ipv6/conf/%k/use_tempaddr" ''; }) (pkgs.writeTextFile rec { |