Skip to content

Commit

Permalink
nixos.gnome3.at-spi2-core: Set environment variable NO_AT_BRIDGE=1
Browse files Browse the repository at this point in the history
…if disabled

As suggested in #16327 (#16327 (comment)).
  • Loading branch information
fmthoma authored and jtojnar committed Dec 13, 2017
1 parent e5629dc commit 9e48634
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions nixos/modules/services/desktops/gnome3/at-spi2-core.nix
Expand Up @@ -28,14 +28,15 @@ with lib;

###### implementation

config = mkIf config.services.gnome3.at-spi2-core.enable {

environment.systemPackages = [ pkgs.at_spi2_core ];

services.dbus.packages = [ pkgs.at_spi2_core ];

systemd.packages = [ pkgs.at_spi2_core ];

};

config = mkMerge [
(mkIf config.services.gnome3.at-spi2-core.enable {
environment.systemPackages = [ pkgs.at_spi2_core ];
services.dbus.packages = [ pkgs.at_spi2_core ];
systemd.packages = [ pkgs.at_spi2_core ];
})

(mkIf (!config.services.gnome3.at-spi2-core.enable) {
environment.variables.NO_AT_BRIDGE = "1";
})
];
}

0 comments on commit 9e48634

Please sign in to comment.