Issue description
I can understand that environment.defaultPackages includes a text editor to make sure there is always at least one (no longer the case in 23.11)
Why does environment.defaultPackages include perl, rsync, and strace? I've used all of them at some point, but they don't seem important enough to be installed on every single NixOS system.
And if they are all removed, should the environment.defaultPackages option itself be removed? The only place it's currently used outside of tests is in the installer, which could presumably use systemPackages instead.
For the record, environment.defaultPackages = lib.mkForce []; should not be necessary as a workaround.
Steps to reproduce
- Install NixOS 😁
Technical details
- system:
"x86_64-linux"
- host os:
Linux 6.1.59, NixOS, 23.05 (Stoat), 23.05.4448.5550a85a087c
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.13.6
- channels(root):
"nixos-23.05, nixos-hardware"
- channels(username):
""
- nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
Issue description
I can understand that(no longer the case in 23.11)environment.defaultPackagesincludes a text editor to make sure there is always at least oneWhy does
environment.defaultPackagesincludeperl,rsync, andstrace? I've used all of them at some point, but they don't seem important enough to be installed on every single NixOS system.And if they are all removed, should the
environment.defaultPackagesoption itself be removed? The only place it's currently used outside of tests is in the installer, which could presumably usesystemPackagesinstead.For the record,
environment.defaultPackages = lib.mkForce [];should not be necessary as a workaround.Steps to reproduce
Technical details
"x86_64-linux"Linux 6.1.59, NixOS, 23.05 (Stoat), 23.05.4448.5550a85a087cyesyesnix-env (Nix) 2.13.6"nixos-23.05, nixos-hardware"""/nix/var/nix/profiles/per-user/root/channels/nixos