diff options
author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2023-07-06 18:03:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 18:03:36 +0200 |
commit | d0b4889418d695a6462351914ebdac74039a8b96 (patch) | |
tree | 9758bb76814dc20fe1769392def1e4345e1854ab /nixos/modules/tasks | |
parent | 99818b5301c8247aba0d0f38c8d645adf2b9d10d (diff) | |
parent | 3e96fd980db95ad6268cb5ea79dcff6aaa21e098 (diff) | |
download | nixpkgs-d0b4889418d695a6462351914ebdac74039a8b96.tar nixpkgs-d0b4889418d695a6462351914ebdac74039a8b96.tar.gz nixpkgs-d0b4889418d695a6462351914ebdac74039a8b96.tar.bz2 nixpkgs-d0b4889418d695a6462351914ebdac74039a8b96.tar.lz nixpkgs-d0b4889418d695a6462351914ebdac74039a8b96.tar.xz nixpkgs-d0b4889418d695a6462351914ebdac74039a8b96.tar.zst nixpkgs-d0b4889418d695a6462351914ebdac74039a8b96.zip |
Merge pull request #240295 from sysvinit/sysvinit/udev-privacy-address-scope
network-interfaces: restrict ipv6 udev rules
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 954d7ffba71..eb1c7512d92 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -1496,7 +1496,7 @@ in in '' # override to ${msg} for ${i.name} - ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.procps}/bin/sysctl net.ipv6.conf.${replaceStrings ["."] ["/"] i.name}.use_tempaddr=${val}" + ACTION=="add", SUBSYSTEM=="net", NAME=="${i.name}", RUN+="${pkgs.procps}/bin/sysctl net.ipv6.conf.${replaceStrings ["."] ["/"] i.name}.use_tempaddr=${val}" '') (filter (i: i.tempAddress != cfg.tempAddresses) interfaces); }) ] ++ lib.optional (cfg.wlanInterfaces != {}) |