nixos.gnome3.at-spi2-core: Set environment variable NO_AT_BRIDGE=1
if disabled
As suggested in #16327 (https://github.com/NixOS/nixpkgs/issues/16327#issuecomment-315729994).
This commit is contained in:
parent
e5629dc51a
commit
9e486344a9
@ -28,14 +28,15 @@ with lib;
|
|||||||
|
|
||||||
###### implementation
|
###### implementation
|
||||||
|
|
||||||
config = mkIf config.services.gnome3.at-spi2-core.enable {
|
config = mkMerge [
|
||||||
|
(mkIf config.services.gnome3.at-spi2-core.enable {
|
||||||
environment.systemPackages = [ pkgs.at_spi2_core ];
|
environment.systemPackages = [ pkgs.at_spi2_core ];
|
||||||
|
services.dbus.packages = [ pkgs.at_spi2_core ];
|
||||||
services.dbus.packages = [ pkgs.at_spi2_core ];
|
systemd.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";
|
||||||
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user