-
-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Open
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
Nixpkgs version
- Unstable (25.11)
Describe the bug
services.dbus.dbusPackage's dbus package always pulls in the x11 libs, even if services.xserver.enable is false. This doesnt make sense (if a headless server doesnt have x enabled then what's the point of enabling x support?)
Steps to reproduce
Have a system without xserver installed and no graphical apps; x11 is still pulled in just by the fact of systemd being enabled+dbus.
Expected behaviour
libx11 probably shouldnt be pulled in if x isnt enabled
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.16.12, NixOS, 25.11 (Xantusia), 25.11.20251025.6a08e6b - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.30.3 - channels(root):
"nixos" - nixpkgs:
/nix/store/jd3y5kfy3ywv9lc229nz8vxqbrcyv93d-source
Notify maintainers
@NixOS/freedesktop
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS