You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Better dconf support, and removal from packages #11239
0.kind: enhancementAdd something new or improve an existing system.6.topic: GNOMEGNOME desktop environment and its underlying platform6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS6.topic: non-nixosRunning packages on non-NixOS Linux
Packages hardcode the gio module. This is good because it keeps abi compatibility with the linked glib, however it's also true that gio modules API hasn't seen any change since its first release in version 2.30.
NixOS modules add dconf to the system packages, making it impractical for the user to disable it.
Proposal:
Remove dconf references from every package.
Add services.dconf.enable, which adds the system package and the GIO_MODULE env var.
This way we cleanup packages, make it possible for services to services.dconf.enable = mkDefault true; and let the user disable it with services.dconf.enable = false;.
@domenkozar same as nixos? If the user wants dconf, the user will install it. If any other distro doesn't have dconf, also its applications won't save settings in dconf. I don't see any problem with nix packages in that regard.
EDIT: perhaps the only problem could be GIO_MODULE, but do you really want to add this variable to every glib package? I'm not sure.
About ABI compatibility there's no harm, it's been stable since 2.30. Yet non-nixos users may have troubles as you say.
For icons we have a default, and people can simply override it globally.
For GIO_MODULE however the story is different. Why only dconf and not also glib-networking hardcoded in programs?
could we have the dconf package set the GSETTINGS_BACKEND on install like cacert does for SSL_CERT_FILE ? then it can be installed either as a user or in the system.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Search for maintainers and people that previously touched the related code and @ mention them in a comment.
0.kind: enhancementAdd something new or improve an existing system.6.topic: GNOMEGNOME desktop environment and its underlying platform6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS6.topic: non-nixosRunning packages on non-NixOS Linux
Activity
domenkozar commentedon Nov 24, 2015
What about non-NixOS?
lucabrunox commentedon Nov 24, 2015
@domenkozar same as nixos? If the user wants dconf, the user will install it. If any other distro doesn't have dconf, also its applications won't save settings in dconf. I don't see any problem with nix packages in that regard.
EDIT: perhaps the only problem could be
GIO_MODULE, but do you really want to add this variable to every glib package? I'm not sure.lucabrunox commentedon Nov 24, 2015
About ABI compatibility there's no harm, it's been stable since 2.30. Yet non-nixos users may have troubles as you say.
For icons we have a default, and people can simply override it globally.
For GIO_MODULE however the story is different. Why only dconf and not also glib-networking hardcoded in programs?
About multiple-output, agreed we can do this.
zimbatm commentedon Feb 24, 2016
could we have the dconf package set the GSETTINGS_BACKEND on install like cacert does for SSL_CERT_FILE ? then it can be installed either as a user or in the system.
davidak commentedon May 7, 2018
This is still an issue with many GTK applications. A general fix would be great instead of fixing every single one separately.
stale commentedon Jun 4, 2020
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
qweered commentedon Jun 23, 2026
Still an issue