From 87d18174d317e78fdfd9ab1fd35b685deb812aa8 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 22 Mar 2022 15:42:00 +0100 Subject: nixos/gdm: fix accessibility menu icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GNOME Shell 42 switched an icon for the accessibility menu in the top panel to one from gnome-control-center instead of a legacy one from adwaita-icon-theme: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2155 Let’s add that dependency to the systemd unit since installing it through `environment.systemPackages` is not enough due to environment isolation. --- nixos/modules/services/x11/display-managers/gdm.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix index b1dc6643be8..70ae6b8978d 100644 --- a/nixos/modules/services/x11/display-managers/gdm.nix +++ b/nixos/modules/services/x11/display-managers/gdm.nix @@ -141,7 +141,7 @@ in GDM_X_SERVER_EXTRA_ARGS = toString (filter (arg: arg != "-terminate") cfg.xserverArgs); # GDM is needed for gnome-login.session - XDG_DATA_DIRS = "${gdm}/share:${cfg.sessionData.desktops}/share"; + XDG_DATA_DIRS = "${gdm}/share:${cfg.sessionData.desktops}/share:${pkgs.gnome.gnome-control-center}/share"; } // optionalAttrs (xSessionWrapper != null) { # Make GDM use this wrapper before running the session, which runs the # configured setupCommands. This relies on a patched GDM which supports -- cgit 1.4.1