1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

dconf: disable on darwin

While technically dconf on darwin could work, our activation step
requires dbus, which only *lightly* supports Darwin in general, and not
at all in the way it's packaged in nixpkgs. Because of this, we just
disable dconf for darwin hosts by default.

In the future, if someone gets dbus working, this _could_ be re-enabled,
unclear whether there's actual value in it though.
This commit is contained in:
Bernardo Meurer 2023-03-31 11:15:52 -03:00 committed by Robert Helgesson
parent 67b97020b6
commit ddd8866c03
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -25,7 +25,13 @@ in {
dconf = {
enable = mkOption {
type = types.bool;
default = true;
# While technically dconf on darwin could work, our activation step
# requires dbus, which only *lightly* supports Darwin in general, and
# not at all in the way it's packaged in nixpkgs. Because of this, we
# just disable dconf for darwin hosts by default.
# In the future, if someone gets dbus working, this _could_ be
# re-enabled, unclear whether there's actual value in it though.
default = !pkgs.stdenv.hostPlatform.isDarwin;
visible = false;
description = ''
Whether to enable dconf settings.