From ddd8866c0306c48f465e7f48432e6f1ecd1da7f8 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Fri, 31 Mar 2023 11:15:52 -0300 Subject: [PATCH] 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. --- modules/misc/dconf.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/misc/dconf.nix b/modules/misc/dconf.nix index aaefdfa39..f1ce38d39 100644 --- a/modules/misc/dconf.nix +++ b/modules/misc/dconf.nix @@ -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.