summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2022-03-22 15:42:00 +0100
committerJan Tojnar <jtojnar@gmail.com>2022-03-25 15:02:49 +0100
commit87d18174d317e78fdfd9ab1fd35b685deb812aa8 (patch)
tree28aa6682112f6a2aa838f107c78ea2e4ea3ddbb4
parent6cc62a8bc011faa61fe317a7aa3df69e7a598b8e (diff)
downloadnixpkgs-87d18174d317e78fdfd9ab1fd35b685deb812aa8.tar
nixpkgs-87d18174d317e78fdfd9ab1fd35b685deb812aa8.tar.gz
nixpkgs-87d18174d317e78fdfd9ab1fd35b685deb812aa8.tar.bz2
nixpkgs-87d18174d317e78fdfd9ab1fd35b685deb812aa8.tar.lz
nixpkgs-87d18174d317e78fdfd9ab1fd35b685deb812aa8.tar.xz
nixpkgs-87d18174d317e78fdfd9ab1fd35b685deb812aa8.tar.zst
nixpkgs-87d18174d317e78fdfd9ab1fd35b685deb812aa8.zip
nixos/gdm: fix accessibility menu icon
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.
-rw-r--r--nixos/modules/services/x11/display-managers/gdm.nix2
1 files changed, 1 insertions, 1 deletions
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