mirror of
https://github.com/nix-community/home-manager
synced 2024-11-05 02:39:45 +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:
parent
67b97020b6
commit
ddd8866c03
1 changed files with 7 additions and 1 deletions
|
@ -25,7 +25,13 @@ in {
|
||||||
dconf = {
|
dconf = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
type = types.bool;
|
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;
|
visible = false;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to enable dconf settings.
|
Whether to enable dconf settings.
|
||||||
|
|
Loading…
Reference in a new issue