summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2015-02-10 16:26:06 +0000
committerLuca Bruno <lucabru@src.gnome.org>2015-02-11 11:48:51 +0000
commitf7b26bf98ff9fcb65fdb7e609bce4a0a237e64fc (patch)
tree4f9223d0a360a9934b4e21971eb8db46924ffa00 /nixos/modules/services/x11/display-managers
parentfa51c9bfc175c1d33541237b04f387e7bb8661d2 (diff)
downloadnixlib-f7b26bf98ff9fcb65fdb7e609bce4a0a237e64fc.tar
nixlib-f7b26bf98ff9fcb65fdb7e609bce4a0a237e64fc.tar.gz
nixlib-f7b26bf98ff9fcb65fdb7e609bce4a0a237e64fc.tar.bz2
nixlib-f7b26bf98ff9fcb65fdb7e609bce4a0a237e64fc.tar.lz
nixlib-f7b26bf98ff9fcb65fdb7e609bce4a0a237e64fc.tar.xz
nixlib-f7b26bf98ff9fcb65fdb7e609bce4a0a237e64fc.tar.zst
nixlib-f7b26bf98ff9fcb65fdb7e609bce4a0a237e64fc.zip
gnome3: Set XCURSOR_PATH. Closes #6191
Diffstat (limited to 'nixos/modules/services/x11/display-managers')
-rw-r--r--nixos/modules/services/x11/display-managers/gdm.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix
index 080588df2472..b3da0cda04a3 100644
--- a/nixos/modules/services/x11/display-managers/gdm.nix
+++ b/nixos/modules/services/x11/display-managers/gdm.nix
@@ -55,6 +55,8 @@ in
           GDM_X_SERVER = "${cfg.xserverBin} ${cfg.xserverArgs}";
           GDM_SESSIONS_DIR = "${cfg.session.desktops}";
           XDG_CONFIG_DIRS = "${gnome3.gnome_settings_daemon}/etc/xdg";
+          # Find the mouse
+          XCURSOR_PATH = "~/.icons:${config.system.path}/share/icons";
         };
         execCmd = "exec ${gdm}/sbin/gdm";
       };