Make NetworkManager plugins optional #137338
Labels
0.kind: enhancement
Add something new
6.topic: closure size
The final size of a derivation, including its dependencies
6.topic: freedesktop
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Issue description
At the moment, the NixOS NetworkManager module includes all plugins that are packaged for NixOS. This is problematic on headless systems, because these modules pull in a ton of
gnome
dependencies (includinggtk
), which is not acceptable for a small headless device. I tried overriding those packages withwithGnome = false
, but they pull in too many graphical dependencies nevertheless.An option to turn these off (in whatever way) would be appreciated.
Steps to reproduce
networkmanager.enable = true;
nix-tree path-to-derivation
/
(search)gtk
w
(why-depends)Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Ping maintainers
@NixOS/freedesktop
The text was updated successfully, but these errors were encountered: