From bf1b4d35fbabe577c0952bdbe47ef2d05d475d1f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 4 Jul 2025 05:19:20 +0200 Subject: [PATCH] networking: don't install nettools by default https://lwn.net/Articles/710533/ has been true in 2017 and still holds today. --- nixos/doc/manual/release-notes/rl-2511.section.md | 2 ++ nixos/modules/tasks/network-interfaces.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/release-notes/rl-2511.section.md b/nixos/doc/manual/release-notes/rl-2511.section.md index 26e832045d03..84735a7be327 100644 --- a/nixos/doc/manual/release-notes/rl-2511.section.md +++ b/nixos/doc/manual/release-notes/rl-2511.section.md @@ -114,3 +114,5 @@ This allows for fine-grained control over the GPU's performance and maybe required by overclocking softwares like Corectrl and Lact. These new options replace old options such as {option}`programs.corectrl.gpuOverclock.enable` and {option}`programs.tuxclocker.enableAMD`. - [](#opt-services.gnome.gnome-keyring.enable) does not ship with an SSH agent anymore, as this is now handled by the `gcr_4` package instead of `gnome-keyring`. A new module has been added to support this, under [](#opt-services.gnome.gcr-ssh-agent.enable) (its default value has been set to [](#opt-services.gnome.gnome-keyring.enable) to ensure a smooth transition). See the [relevant upstream PR](https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67) for more details. + +- The `nettools` package (ifconfig, arp, mii-tool, netstat, route) is not installed by default anymore. The suite is unmaintained and users should migrate to `iproute2` and `ethtool` instead. diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index fb8dab1c33ff..0e5ceab3ab30 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -1643,7 +1643,6 @@ in pkgs.host pkgs.iproute2 pkgs.iputils - pkgs.nettools ] ++ optionals config.networking.wireless.enable [ pkgs.wirelesstools # FIXME: obsolete?